all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Visuwesh <visuweshm@gmail.com>
Cc: 54537@debbugs.gnu.org
Subject: bug#54537: 29.0.50; Last sexp notion is different for eval-last-sexp and pp-eval-last-sexp
Date: Fri, 25 Mar 2022 16:44:12 +0100	[thread overview]
Message-ID: <87r16qdokz.fsf@gnus.org> (raw)
In-Reply-To: <87tubon5ed.fsf@gmail.com> (Visuwesh's message of "Wed, 23 Mar 2022 19:21:38 +0530")

Visuwesh <visuweshm@gmail.com> writes:

> The notion of "last sexp" is different for eval-last-sexp and
> pp-eval-last-sexp as seen by the following,
>
>     ,(list 1 2 3)
>
> eval-last-sexp echoes (1 2 3) in the echo area but pp-eval-last-sexp
> signals an error.  I am not sure which one is more correct, but
> eval-last-sexp behaviour is more convenient (and backward-sexp when
> after the closing parenthesis places the point after , too...).

I've now fixed this in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  parent reply	other threads:[~2022-03-25 15:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-23 13:51 bug#54537: 29.0.50; Last sexp notion is different for eval-last-sexp and pp-eval-last-sexp Visuwesh
2022-03-23 14:06 ` Lars Ingebrigtsen
2022-03-23 14:41   ` Drew Adams
2022-03-23 16:32     ` Visuwesh
2022-03-23 21:06       ` bug#54537: " Drew Adams
2022-03-24  0:42         ` Michael Heerdegen
2022-03-24  1:57           ` Drew Adams
2022-03-24  2:22             ` Michael Heerdegen
2022-03-24  3:44               ` Drew Adams
2022-03-24  2:23         ` Visuwesh
2022-03-25 15:44 ` Lars Ingebrigtsen [this message]
2022-03-25 15:55   ` Visuwesh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r16qdokz.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=54537@debbugs.gnu.org \
    --cc=visuweshm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.