GNU bug report logs -
#59350
29.0.50; Eval region or buffer
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Fri, 18 Nov 2022 07:47:02 UTC
Severity: normal
Found in version 29.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Juri Linkov <juri <at> linkov.net>
> Cc: 59350 <at> debbugs.gnu.org
> Date: Sat, 19 Nov 2022 20:59:19 +0200
>
> >> 'elisp-eval-buffer' is a nice new command that evaluates the current buffer
> >> with a convenient keybinding 'C-c C-e'. It would be nicer also to react on
> >> the currently active region:
> >
> > That'd be confusing, IMO, given that the command says "buffer" in its
> > name. We usually do this the other way around: eval-region should
> > work on the entire accessible portion of the buffer if the mark is not
> > set. But note that eval-region doesn't need the region to be active,
> > so there be dragons.
>
> Maybe then better to rename it to 'elisp-eval-region-or-buffer',
> then explain in the docstring it's for Transient Mark only.
Rename elisp-eval-buffer, you mean? That's a possibility, yes.
This bug report was last modified 2 years and 261 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.