unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Drew Adams <drew.adams@oracle.com>
Cc: Jen-Chieh Shen <jcs090218@gmail.com>,
	Lars Ingebrigtsen <larsi@gnus.org>,
	43165@debbugs.gnu.org
Subject: bug#43165: [PATCH] Add load this file lisp function.
Date: Thu, 3 Sep 2020 20:28:02 +0000	[thread overview]
Message-ID: <CADwFkm=woKZrosoJUpNWCu=A2LE_bBQYq40P6JhxOAHRHMS9kg@mail.gmail.com> (raw)
In-Reply-To: <29a3f5d1-c5f7-4ba5-a285-58e204faeed4@default> (Drew Adams's message of "Wed, 2 Sep 2020 08:51:48 -0700 (PDT)")

Drew Adams <drew.adams@oracle.com> writes:

>> Just do: `M-x load-file RET M-n RET'
>
> I was going to say this yesterday, when I saw
> the enhancement request.
>
> Just do: `M-x load-file RET RET'.  No need for
> `M-n'.

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'? ;-))

But it depends also on your completion framework, which might be the
motivation behind this request.  Ivy helpfully suggests to load the
current directory "." in this case, for example.  But that's a bug
report for the Ivy developers to handle (or maybe my messed up
configuration).





  reply	other threads:[~2020-09-03 20:28 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 [this message]
2020-09-04  1:52           ` Lars Ingebrigtsen
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CADwFkm=woKZrosoJUpNWCu=A2LE_bBQYq40P6JhxOAHRHMS9kg@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=43165@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=jcs090218@gmail.com \
    --cc=larsi@gnus.org \
    /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 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).