From: Eli Zaretskii <eliz@gnu.org>
To: kwc3iywb@vfemail.net
Cc: 27056@debbugs.gnu.org
Subject: bug#27056: 25.2; goto-line doesn't default to current line when used interactively when the cursor isn't over a number
Date: Sat, 27 May 2017 16:13:34 +0300 [thread overview]
Message-ID: <8337bqigsh.fsf@gnu.org> (raw)
In-Reply-To: <20170524111937.GA17052@vfemail.net> (kwc3iywb@vfemail.net)
> Date: Wed, 24 May 2017 11:19:37 +0000
> From: kwc3iywb@vfemail.net
>
> When I press M-x goto-line, it asks me for a line number. There used to
> be a default line number, which is the current line number before
> a5dcc929862f6727c71db5e45d8750f8c322c53b. It looks like he forgot to
> remove the empty elements when calling `read-from-minibuffer' from
> `read-number'.
Sorry, I don't think I understand the problem. AFAIU, the default was
taken from the number at point, if any, when the command is invoked.
So I tried this:
emacs -Q
Type "2" and then move point back so the cursor is on "2"
M-g M-g
This prompts in the echo area:
Goto line (default 2):
OTOH, if cursor isn't over a number, I get no default at all, even if
I try Emacs versions before that change, like Emacs 23.1 and 23.2 (or
even 22.1).
So it looks like the feature works as expected. What am I missing?
next prev parent reply other threads:[~2017-05-27 13:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-24 11:19 bug#27056: 25.2; goto-line doesn't default to current line when used interactively when the cursor isn't over a number kwc3iywb
2017-05-24 18:03 ` Glenn Morris
2017-05-25 2:29 ` kwc3iywb
2017-05-25 8:52 ` kwc3iywb
2017-05-25 9:41 ` kwc3iywb
2017-05-25 10:21 ` kwc3iywb
2017-05-27 2:38 ` kwc3iywb
2017-05-27 13:13 ` Eli Zaretskii [this message]
2017-05-28 8:11 ` kwc3iywb
2017-05-28 8:18 ` kwc3iywb
2017-05-28 15:03 ` Eli Zaretskii
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=8337bqigsh.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=27056@debbugs.gnu.org \
--cc=kwc3iywb@vfemail.net \
/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.