all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Antoine Levitt <antoine.levitt@gmail.com>
Cc: 53874@debbugs.gnu.org
Subject: bug#53874: Patch: make set-fill-column show the current fill-column
Date: Wed, 09 Feb 2022 09:27:55 +0100	[thread overview]
Message-ID: <87wni4o35g.fsf@gnus.org> (raw)
In-Reply-To: <871r0dbm3y.fsf@inria.fr> (Antoine Levitt's message of "Tue, 08 Feb 2022 13:04:33 +0100")

Antoine Levitt <antoine.levitt@gmail.com> writes:

> +             (let ((prompt (concat "Set fill-column to"
> +                                   (format minibuffer-default-prompt-format
> +                                           (concat (number-to-string (current-column))
> +                                                   ", currently "
> +                                                   (number-to-string fill-column)))
> +                                   ": "))
> +                   (minibuffer-default-prompt-format ""))

Instead of doing it this way, I think it might make more sense to just
change the prompt to "Change fill-column from %s to:" instead?  People
may have set minibuffer-default-prompt-format to something weird.

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





  reply	other threads:[~2022-02-09  8:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-08 12:04 bug#53874: Patch: make set-fill-column show the current fill-column Antoine Levitt
2022-02-09  8:27 ` Lars Ingebrigtsen [this message]
2022-02-09  9:53   ` Antoine Levitt
2022-02-09  9:53     ` Lars Ingebrigtsen

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=87wni4o35g.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=53874@debbugs.gnu.org \
    --cc=antoine.levitt@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.