unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42748: 26.3; Should `move-(beginning|end)-of-line' be in the Elisp manual?
@ 2020-08-07 16:40 Drew Adams
  2020-08-08  8:25 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2020-08-07 16:40 UTC (permalink / raw)
  To: 42748

(elisp) `Text Lines' documents `(beginning|end)-of-line'.  It doesn't
document `move-(beginning|end)-of-line'.  The Emacs manual documents
the latter and not the former.  Is this the best approach, or did the
Elisp manual perhaps just not get updated when `C-a' and `C-e' were
changed to use the `move-*' commands?

In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
 of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
 `configure --without-dbus --host=x86_64-w64-mingw32
 --without-compress-install 'CFLAGS=-O2 -static -g3''





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#42748: 26.3; Should `move-(beginning|end)-of-line' be in the Elisp manual?
  2020-08-07 16:40 bug#42748: 26.3; Should `move-(beginning|end)-of-line' be in the Elisp manual? Drew Adams
@ 2020-08-08  8:25 ` Eli Zaretskii
  2020-08-09  1:59   ` Richard Stallman
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2020-08-08  8:25 UTC (permalink / raw)
  To: Drew Adams; +Cc: 42748-done

> Date: Fri, 7 Aug 2020 09:40:23 -0700 (PDT)
> From: Drew Adams <drew.adams@oracle.com>
> 
> (elisp) `Text Lines' documents `(beginning|end)-of-line'.  It doesn't
> document `move-(beginning|end)-of-line'.  The Emacs manual documents
> the latter and not the former.  Is this the best approach, or did the
> Elisp manual perhaps just not get updated when `C-a' and `C-e' were
> changed to use the `move-*' commands?

It looks like Lisp programs use beginning-of-line and end-of-line
overwhelmingly more than the move-* counterparts, so it seems like the
discrepancy is actually justified.

So I'm closing this bug report.





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#42748: 26.3; Should `move-(beginning|end)-of-line' be in the Elisp manual?
  2020-08-08  8:25 ` Eli Zaretskii
@ 2020-08-09  1:59   ` Richard Stallman
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2020-08-09  1:59 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 42748

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > > (elisp) `Text Lines' documents `(beginning|end)-of-line'.  It doesn't
  > > document `move-(beginning|end)-of-line'.  The Emacs manual documents
  > > the latter and not the former.  Is this the best approach, or did the
  > > Elisp manual perhaps just not get updated when `C-a' and `C-e' were
  > > changed to use the `move-*' commands?

The difference between the keyboard commands and the basic functions
is intentional.  THe basic functions are useful in Lisp programs; the
move- commands are on C-a and C-e but are not worth documenting for
Lisp programs to call.

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-09  1:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07 16:40 bug#42748: 26.3; Should `move-(beginning|end)-of-line' be in the Elisp manual? Drew Adams
2020-08-08  8:25 ` Eli Zaretskii
2020-08-09  1:59   ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).