unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#28103: M-x customize should use fill-column
@ 2017-08-15 20:05 Yegor Timoshenko
  2017-08-16 12:35 ` Charles A. Roelli
  0 siblings, 1 reply; 5+ messages in thread
From: Yegor Timoshenko @ 2017-08-15 20:05 UTC (permalink / raw)
  To: 28103

[-- Attachment #1: Type: text/plain, Size: 215 bytes --]

Hello! This is an enhancement request.

M-x customize sometimes produces very long lines (for example, try
customizing eshell-modules-list). It'd be nice if M-x customize honored
`fill-column` when pretty-printing.

[-- Attachment #2: Type: text/html, Size: 321 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#28103: M-x customize should use fill-column
  2017-08-15 20:05 bug#28103: M-x customize should use fill-column Yegor Timoshenko
@ 2017-08-16 12:35 ` Charles A. Roelli
  2017-08-16 15:45   ` Yegor Timoshenko
  0 siblings, 1 reply; 5+ messages in thread
From: Charles A. Roelli @ 2017-08-16 12:35 UTC (permalink / raw)
  To: Yegor Timoshenko; +Cc: 28103

From emacs -q:

M-x load-library eshell RET
M-x customize-variable eshell-modules-list RET

gives something like this:

Eshell Modules List:
[X] eshell-alias -- Command aliases

Command aliases allow for easy definition of alternate commands.
 
[X] eshell-banner -- Login banner

This sample module displays a welcome banner at login.
It exists so that others wishing to create their own Eshell extension
modules may have a simple template to begin with.
 
[X] eshell-basic -- Basic shell commands

The "basic" code provides a set of convenience functions which
are traditionally considered shell builtins.  Since all of the
functionality provided by them is accessible through Lisp, they are
not really builtins at all, but offer a command-oriented way to do the
same thing.

[...]

Which lines are too long?

> From: Yegor Timoshenko <yegortimoshenko@gmail.com>
> Date: Tue, 15 Aug 2017 20:05:46 +0000
> 
> 
> 
> Hello! This is an enhancement request.
> 
> M-x customize sometimes produces very long lines (for example, try customizing eshell-modules-list). It'd be nice if M-x customize honored `fill-column` when pretty-printing.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#28103: M-x customize should use fill-column
  2017-08-16 12:35 ` Charles A. Roelli
@ 2017-08-16 15:45   ` Yegor Timoshenko
  2017-08-20 13:29     ` Charles A. Roelli
  2021-08-13 13:11     ` Lars Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Yegor Timoshenko @ 2017-08-16 15:45 UTC (permalink / raw)
  To: Charles A. Roelli; +Cc: 28103

[-- Attachment #1: Type: text/plain, Size: 126 bytes --]

> Which lines are too long?

I mean lines that are generated by M-x customize that end up in
~/.emacs.d/init.el (by default).

[-- Attachment #2: Type: text/html, Size: 174 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#28103: M-x customize should use fill-column
  2017-08-16 15:45   ` Yegor Timoshenko
@ 2017-08-20 13:29     ` Charles A. Roelli
  2021-08-13 13:11     ` Lars Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Charles A. Roelli @ 2017-08-20 13:29 UTC (permalink / raw)
  To: Yegor Timoshenko; +Cc: 28103

> From: Yegor Timoshenko <yegortimoshenko@gmail.com>
> Date: Wed, 16 Aug 2017 15:45:56 +0000> 
> > Which lines are too long?
> 
> I mean lines that are generated by M-x customize that end up in ~/.emacs.d/init.el (by default).

Right.  I'm not sure if we have any primitive that can already fill a
long Lisp list according to `fill-column', but if we do, then we
should be able to offer an option to make cus-edit.el save
variables/faces without generating overly long lines.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#28103: M-x customize should use fill-column
  2017-08-16 15:45   ` Yegor Timoshenko
  2017-08-20 13:29     ` Charles A. Roelli
@ 2021-08-13 13:11     ` Lars Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-13 13:11 UTC (permalink / raw)
  To: Yegor Timoshenko; +Cc: Charles A. Roelli, 28103

Yegor Timoshenko <yegortimoshenko@gmail.com> writes:

>> Which lines are too long?
>
> I mean lines that are generated by M-x customize that end up in
> ~/.emacs.d/init.el (by default).

I don't really think auto-filling those lines make that much sense --
they are "readable" by humans, but they're mainly there to be handled
automatically.

So I'm closing this bug report.

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-13 13:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-15 20:05 bug#28103: M-x customize should use fill-column Yegor Timoshenko
2017-08-16 12:35 ` Charles A. Roelli
2017-08-16 15:45   ` Yegor Timoshenko
2017-08-20 13:29     ` Charles A. Roelli
2021-08-13 13:11     ` Lars Ingebrigtsen

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).