Skip to main content
added 60 characters in body
Source Link
oOosys
  • 505
  • 3
  • 12

As I am not an Emacs code contributor knowing about intentions of the core developer group, so I can't tell you if there are plans to implement more meaningful symbol naming, but I can provide an example showing that there was some effort in this direction in the past.

For evidence of the above statement see the documentation of 'point-at-bol'

point-at-bol is an alias for ‘line-beginning-position’ in ‘subr.el’. This function is obsolete since 29.1; use `line-beginning-position' or 'pos-bol' instead.

The confusing naming will become obsolete in future Emacs versions in favor of usage of more meaningful namings 'line-beginning-position' and 'pos-bol' which both suggest as outcome a position of a line beginning. 'bol' is maybe a bit cryptic but in my eyes relatively easy to guess and memorize in the context of pos-bol as (b)eginning (o)f (l)ine.

I am not an Emacs developer, so I can't tell you if there are plans to implement more meaningful symbol naming, but I can provide an example showing that there was some effort in this direction in the past.

For evidence of the above statement see the documentation of 'point-at-bol'

point-at-bol is an alias for ‘line-beginning-position’ in ‘subr.el’. This function is obsolete since 29.1; use `line-beginning-position' or 'pos-bol' instead.

The confusing naming will become obsolete in future Emacs versions in favor of usage of more meaningful namings 'line-beginning-position' and 'pos-bol' which both suggest as outcome a position of a line beginning. 'bol' is maybe a bit cryptic but in my eyes relatively easy to guess and memorize in the context of pos-bol as (b)eginning (o)f (l)ine.

As I am not an Emacs code contributor knowing about intentions of the core developer group, I can't tell you if there are plans to implement more meaningful symbol naming, but I can provide an example showing that there was some effort in this direction in the past.

For evidence of the above statement see the documentation of 'point-at-bol'

point-at-bol is an alias for ‘line-beginning-position’ in ‘subr.el’. This function is obsolete since 29.1; use `line-beginning-position' or 'pos-bol' instead.

The confusing naming will become obsolete in future Emacs versions in favor of usage of more meaningful namings 'line-beginning-position' and 'pos-bol' which both suggest as outcome a position of a line beginning. 'bol' is maybe a bit cryptic but in my eyes relatively easy to guess and memorize in the context of pos-bol as (b)eginning (o)f (l)ine.

Source Link
oOosys
  • 505
  • 3
  • 12

I am not an Emacs developer, so I can't tell you if there are plans to implement more meaningful symbol naming, but I can provide an example showing that there was some effort in this direction in the past.

For evidence of the above statement see the documentation of 'point-at-bol'

point-at-bol is an alias for ‘line-beginning-position’ in ‘subr.el’. This function is obsolete since 29.1; use `line-beginning-position' or 'pos-bol' instead.

The confusing naming will become obsolete in future Emacs versions in favor of usage of more meaningful namings 'line-beginning-position' and 'pos-bol' which both suggest as outcome a position of a line beginning. 'bol' is maybe a bit cryptic but in my eyes relatively easy to guess and memorize in the context of pos-bol as (b)eginning (o)f (l)ine.