* Why is there no M-x word-wrap?
@ 2012-06-05 17:28 Deniz Dogan
2012-06-05 17:33 ` Jay Belanger
2012-06-06 6:34 ` Chong Yidong
0 siblings, 2 replies; 5+ messages in thread
From: Deniz Dogan @ 2012-06-05 17:28 UTC (permalink / raw)
To: emacs-devel
As I understand it, the right way to turn on so called word wrapping in
Emacs is by doing (setq word-wrap t). This isn't very user-friendly in
my opinion.
Why is there no command named `word-wrap' which toggles this mode? It
can really throw newbies off telling them to do M-: (setq word-wrap t)
and if that's not enough, I find it kind of annoying myself.
Deniz
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is there no M-x word-wrap?
2012-06-05 17:28 Why is there no M-x word-wrap? Deniz Dogan
@ 2012-06-05 17:33 ` Jay Belanger
2012-06-05 17:33 ` Deniz Dogan
2012-06-05 19:46 ` Drew Adams
2012-06-06 6:34 ` Chong Yidong
1 sibling, 2 replies; 5+ messages in thread
From: Jay Belanger @ 2012-06-05 17:33 UTC (permalink / raw)
To: Deniz Dogan; +Cc: jay.p.belanger, emacs-devel
> As I understand it, the right way to turn on so called word wrapping
> in Emacs is by doing (setq word-wrap t). This isn't very
> user-friendly in my opinion.
>
> Why is there no command named `word-wrap' which toggles this mode?
There is `toggle-word-wrap'.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is there no M-x word-wrap?
2012-06-05 17:33 ` Jay Belanger
@ 2012-06-05 17:33 ` Deniz Dogan
2012-06-05 19:46 ` Drew Adams
1 sibling, 0 replies; 5+ messages in thread
From: Deniz Dogan @ 2012-06-05 17:33 UTC (permalink / raw)
To: jay.p.belanger; +Cc: emacs-devel
Jay Belanger skrev 2012-06-05 19:33:
>
>> As I understand it, the right way to turn on so called word wrapping
>> in Emacs is by doing (setq word-wrap t). This isn't very
>> user-friendly in my opinion.
>>
>> Why is there no command named `word-wrap' which toggles this mode?
>
> There is `toggle-word-wrap'.
Oh... Sorry for the noise.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Why is there no M-x word-wrap?
2012-06-05 17:33 ` Jay Belanger
2012-06-05 17:33 ` Deniz Dogan
@ 2012-06-05 19:46 ` Drew Adams
1 sibling, 0 replies; 5+ messages in thread
From: Drew Adams @ 2012-06-05 19:46 UTC (permalink / raw)
To: jay.p.belanger, 'Deniz Dogan'; +Cc: emacs-devel
> > As I understand it, the right way to turn on so called word wrapping
> > in Emacs is by doing (setq word-wrap t). This isn't very
> > user-friendly in my opinion.
> >
> > Why is there no command named `word-wrap' which toggles this mode?
>
> There is `toggle-word-wrap'.
And even if there were not such an explicit toggle, you would not need to do M-:
(setq word-wrap t). It is a user option, so command `set-variable' applies.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Why is there no M-x word-wrap?
2012-06-05 17:28 Why is there no M-x word-wrap? Deniz Dogan
2012-06-05 17:33 ` Jay Belanger
@ 2012-06-06 6:34 ` Chong Yidong
1 sibling, 0 replies; 5+ messages in thread
From: Chong Yidong @ 2012-06-06 6:34 UTC (permalink / raw)
To: Deniz Dogan; +Cc: emacs-devel
Deniz Dogan <deniz@dogan.se> writes:
> As I understand it, the right way to turn on so called word wrapping
> in Emacs is by doing (setq word-wrap t). This isn't very
> user-friendly in my opinion.
>
> Why is there no command named `word-wrap' which toggles this mode? It
> can really throw newbies off telling them to do M-: (setq word-wrap t)
> and if that's not enough, I find it kind of annoying myself.
Users probably want to use M-x visual-line-mode, which apart from
enabling word-wrap also redefines commands to act visually. I added a
note to the docstring of word-wrap.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-06-06 6:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-05 17:28 Why is there no M-x word-wrap? Deniz Dogan
2012-06-05 17:33 ` Jay Belanger
2012-06-05 17:33 ` Deniz Dogan
2012-06-05 19:46 ` Drew Adams
2012-06-06 6:34 ` Chong Yidong
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.