all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* M-x customize and long lines
@ 2017-08-12 15:13 Yegor Timoshenko
  2017-08-12 16:02 ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Yegor Timoshenko @ 2017-08-12 15:13 UTC (permalink / raw)
  To: help-gnu-emacs

M-x customize sometimes produces very long lines (for example, try
customizing eshell-modules-list). Here's what I get:

(custom-set-variables
 ;; custom-set-variables was added by Custom.
 ;; If you edit it by hand, you could mess it up, so be careful.
 ;; Your init file should contain only one such instance.
 ;; If there is more than one, they won't work right.
 '(eshell-modules-list
   (quote
    (eshell-alias eshell-cmpl eshell-dirs eshell-glob eshell-hist eshell-ls
eshell-term eshell-tramp eshell-unix)))

How do I make M-x customize respect 80 chars per line limit? Is there a
hook? I couldn't find one.

Thanks!
Yegor


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

* RE: M-x customize and long lines
  2017-08-12 15:13 M-x customize and long lines Yegor Timoshenko
@ 2017-08-12 16:02 ` Drew Adams
  2017-08-15 20:06   ` Yegor Timoshenko
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2017-08-12 16:02 UTC (permalink / raw)
  To: Yegor Timoshenko, help-gnu-emacs

> M-x customize sometimes produces very long lines (for example, try
> customizing eshell-modules-list). Here's what I get:
> 
> (custom-set-variables
>  ;; custom-set-variables was added by Custom.
>  ;; If you edit it by hand, you could mess it up, so be careful.
>  ;; Your init file should contain only one such instance.
>  ;; If there is more than one, they won't work right.
>  '(eshell-modules-list
>    (quote
>     (eshell-alias eshell-cmpl eshell-dirs eshell-glob eshell-hist eshell-ls
> eshell-term eshell-tramp eshell-unix)))
> 
> How do I make M-x customize respect 80 chars per line limit? Is there a
> hook? I couldn't find one.

1. I don't think there is one, out of the box.

2. If you define `custom-file' then you won't need to care about
   how Customize writes to it.  You will likely never edit it
   or even look at it.

You might want to file an enhancement request
(`M-x report-emacs-bug'), asking that Customize use `fill-column'
when it pretty-prints.



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

* Re: M-x customize and long lines
  2017-08-12 16:02 ` Drew Adams
@ 2017-08-15 20:06   ` Yegor Timoshenko
  0 siblings, 0 replies; 3+ messages in thread
From: Yegor Timoshenko @ 2017-08-15 20:06 UTC (permalink / raw)
  To: Drew Adams, help-gnu-emacs

Thanks! I've sent an enhancement request.


On Sat, Aug 12, 2017 at 4:02 PM Drew Adams <drew.adams@oracle.com> wrote:

> > M-x customize sometimes produces very long lines (for example, try
> > customizing eshell-modules-list). Here's what I get:
> >
> > (custom-set-variables
> >  ;; custom-set-variables was added by Custom.
> >  ;; If you edit it by hand, you could mess it up, so be careful.
> >  ;; Your init file should contain only one such instance.
> >  ;; If there is more than one, they won't work right.
> >  '(eshell-modules-list
> >    (quote
> >     (eshell-alias eshell-cmpl eshell-dirs eshell-glob eshell-hist
> eshell-ls
> > eshell-term eshell-tramp eshell-unix)))
> >
> > How do I make M-x customize respect 80 chars per line limit? Is there a
> > hook? I couldn't find one.
>
> 1. I don't think there is one, out of the box.
>
> 2. If you define `custom-file' then you won't need to care about
>    how Customize writes to it.  You will likely never edit it
>    or even look at it.
>
> You might want to file an enhancement request
> (`M-x report-emacs-bug'), asking that Customize use `fill-column'
> when it pretty-prints.
>


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

end of thread, other threads:[~2017-08-15 20:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-12 15:13 M-x customize and long lines Yegor Timoshenko
2017-08-12 16:02 ` Drew Adams
2017-08-15 20:06   ` Yegor Timoshenko

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.