all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Phil Sainty <psainty@orcon.net.nz>
To: Stefan Kangas <stefan@marxist.se>
Cc: 38665@debbugs.gnu.org, jefferson@aoeu2code.com
Subject: bug#38665: [PATCH] Add nosqueeze for fill-paragraph
Date: Wed, 20 May 2020 11:59:02 +1200	[thread overview]
Message-ID: <9e408bcd5bdfe3a4cae46564ce1cf4b7@webmail.orcon.net.nz> (raw)
In-Reply-To: <CADwFkmmM0WZ4Ngj+mSvfFHrmaiL3MH5FCYttMBcMX8r6NtK-=g@mail.gmail.com>

On 2020-05-20 02:22, Stefan Kangas wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
>> It sounds like a one-off feature, so perhaps some special value of
>> the prefix argument, like zero or maybe "C-u C-u", would be a
>> better UI, as that would allow one to activate this option for a
>> specific command.
> 
> Agreed.  Jefferson, would you like to work on an updated patch?

To complicate things slightly, I have a patch languishing in my
"get back to at some point" pile for enhancing the use of prefix
arguments when filling text:

https://lists.gnu.org/r/emacs-devel/2016-11/msg00300.html

Reviewing that thread, employing C-u C-u arose:
https://lists.gnu.org/r/emacs-devel/2016-11/msg00313.html

My suggestion there for C-u C-u was:

>>> That could mean "prompt for the fill-prefix, and use the default
>>> column and justify values", but it might be more useful to instead
>>> make it prompt for *everything* -- justify, fill-column,
>>> fill-prefix, and maybe left-margin too.
>>> 
>>> The default value would be provided in each case, so you could
>>> just RET your way past the ones you didn't want to change.

I think we could blend the 'nosqueeze' option into all this, but if
the new changes could happen in a way which wouldn't create any serious
conflicts for the other changes I'm still hoping to get made, that
would be grand.

Or if someone is motivated, please feel free to run with what I'd
already done.  I may have some more-recent local WIP on my other
machine; I'll have a look for that later.


-Phil






  reply	other threads:[~2020-05-19 23:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-18 22:29 bug#38665: [PATCH] Add nosqueeze for fill-paragraph Jefferson Carpenter
2020-05-19  4:13 ` Stefan Kangas
2020-05-19 14:15   ` Eli Zaretskii
2020-05-19 14:22     ` Stefan Kangas
2020-05-19 23:59       ` Phil Sainty [this message]
2020-05-21  1:51         ` Phil Sainty
2020-10-01  2:44         ` Lars Ingebrigtsen
2022-11-25  1:36           ` Stefan Kangas
2024-01-10 22:16             ` Stefan Kangas

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=9e408bcd5bdfe3a4cae46564ce1cf4b7@webmail.orcon.net.nz \
    --to=psainty@orcon.net.nz \
    --cc=38665@debbugs.gnu.org \
    --cc=jefferson@aoeu2code.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.