all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Kangas <stefan@marxist.se>
Cc: Jen-Chieh Shen <jcs090218@gmail.com>, 43165@debbugs.gnu.org
Subject: bug#43165: [PATCH] Add load this file lisp function.
Date: Fri, 04 Sep 2020 03:52:27 +0200	[thread overview]
Message-ID: <877dtas3z8.fsf@gnus.org> (raw)
In-Reply-To: <CADwFkm=woKZrosoJUpNWCu=A2LE_bBQYq40P6JhxOAHRHMS9kg@mail.gmail.com> (Stefan Kangas's message of "Thu, 3 Sep 2020 20:28:02 +0000")

Stefan Kangas <stefan@marxist.se> writes:

> I agree that we should not add this.  Or we would start adding '-this-'
> versions for every command that asks for a file.  (Can we see some hands
> for `M-x find-this-file'? ;-))

The other thing is that loading the current file is something you'd
seldom do -- you just say `M-x eval-buffer' instead.  (And that function
used to be called, funnily enough, `eval-current-buffer'.  OK, it'd have
been funnier if it had been `eval-this-buffer'.)

So I don't think adding this command would be generally useful, and I'm
closing this bug report.

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





  reply	other threads:[~2020-09-04  1:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-02  3:16 bug#43165: [PATCH] Add load this file lisp function Jen-Chieh Shen
2020-09-02  9:43 ` Lars Ingebrigtsen
     [not found]   ` <CAMiGhTPP=1ez0x=v19RKHEVPkCfU_AEbN=mDeamXfXey99R3Zw@mail.gmail.com>
2020-09-02 10:23     ` Lars Ingebrigtsen
2020-09-02 15:51       ` Drew Adams
2020-09-03 20:28         ` Stefan Kangas
2020-09-04  1:52           ` Lars Ingebrigtsen [this message]
2020-09-04  2:13             ` Drew Adams

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=877dtas3z8.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=43165@debbugs.gnu.org \
    --cc=jcs090218@gmail.com \
    --cc=stefan@marxist.se \
    /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.