* Line length when writing an email
@ 2014-04-18 16:52 Sharon Kimble
2014-04-18 18:13 ` Clemens Schüller
0 siblings, 1 reply; 6+ messages in thread
From: Sharon Kimble @ 2014-04-18 16:52 UTC (permalink / raw)
To: info-gnus-english
[-- Attachment #1.1: Type: text/plain, Size: 708 bytes --]
I've recently found that when writing an email the line length is not
recognised, in spite of having
--8<---------------cut here---------------start------------->8---
(setq-default fill-column 78)
--8<---------------cut here---------------end--------------->8---
in my '.gnus.el'. When replying to an email the line length very often goes to
the edge of the window, even with 'Word Wrap (visual line mode)' enabled.
How can I get it to just stop at a line length of just 78 characters please?
Thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.6
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Line length when writing an email
2014-04-18 16:52 Line length when writing an email Sharon Kimble
@ 2014-04-18 18:13 ` Clemens Schüller
2014-04-19 21:59 ` Sharon Kimble
0 siblings, 1 reply; 6+ messages in thread
From: Clemens Schüller @ 2014-04-18 18:13 UTC (permalink / raw)
To: info-gnus-english
Hello!
Sharon Kimble <boudiccas@talktalk.net> writes:
> I've recently found that when writing an email the line length is not
> recognised, in spite of having
> (setq-default fill-column 78)
> in my '.gnus.el'. When replying to an email the line length very often goes to
> the edge of the window, even with 'Word Wrap (visual line mode)' enabled.
> How can I get it to just stop at a line length of just 78 characters please?
╭────
│(add-hook 'message-mode-hook
│(lambda ()
│ (setq fill-column 78)
│ (turn-on-auto-fill)))
╰────
This should work.
--
Best Regards, Clemens Schüller
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Line length when writing an email
2014-04-18 18:13 ` Clemens Schüller
@ 2014-04-19 21:59 ` Sharon Kimble
2014-04-20 5:24 ` Igor Sosa Mayor
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Sharon Kimble @ 2014-04-19 21:59 UTC (permalink / raw)
To: info-gnus-english
[-- Attachment #1.1: Type: text/plain, Size: 1047 bytes --]
Clemens Schüller <cs.mlists+info-gnus@mailbox.org> writes:
> Hello!
>
> Sharon Kimble <boudiccas@talktalk.net> writes:
>
>> I've recently found that when writing an email the line length is not
>> recognised, in spite of having
>> (setq-default fill-column 78)
>> in my '.gnus.el'. When replying to an email the line length very often goes to
>> the edge of the window, even with 'Word Wrap (visual line mode)' enabled.
>
>> How can I get it to just stop at a line length of just 78 characters please?
>
> ╭────
> │(add-hook 'message-mode-hook
> │(lambda ()
> │ (setq fill-column 78)
> │ (turn-on-auto-fill)))
> ╰────
>
> This should work.
Thanks Clemens, this works beautifully. How did you get the solid lines round
your box-quote please? It makes it stand out and look very professional! :)
Sharon.
--
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, Fluxbox 1.3.5, emacs 24.4.50.7
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Line length when writing an email
2014-04-19 21:59 ` Sharon Kimble
@ 2014-04-20 5:24 ` Igor Sosa Mayor
2014-04-20 6:11 ` Box-quote (was: Line length when writing an email) Teemu Likonen
2014-04-21 16:49 ` Line length when writing an email Clemens Schüller
2 siblings, 0 replies; 6+ messages in thread
From: Igor Sosa Mayor @ 2014-04-20 5:24 UTC (permalink / raw)
To: info-gnus-english
Sharon Kimble <boudiccas@talktalk.net> writes:
> Thanks Clemens, this works beautifully. How did you get the solid lines round
> your box-quote please? It makes it stand out and look very professional! :)
have a look at
http://www.emacswiki.org/emacs/BoxQuote
http://emacs-fu.blogspot.co.at/2008/12/some-simple-tricks-boxquote-footnote.html
--
:: Igor Sosa Mayor :: joseleopoldo1792@gmail.com ::
:: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ ::
:: jabberid: rogorido :: ::
^ permalink raw reply [flat|nested] 6+ messages in thread
* Box-quote (was: Line length when writing an email)
2014-04-19 21:59 ` Sharon Kimble
2014-04-20 5:24 ` Igor Sosa Mayor
@ 2014-04-20 6:11 ` Teemu Likonen
2014-04-21 16:49 ` Line length when writing an email Clemens Schüller
2 siblings, 0 replies; 6+ messages in thread
From: Teemu Likonen @ 2014-04-20 6:11 UTC (permalink / raw)
To: Sharon Kimble; +Cc: info-gnus-english
[-- Attachment #1.1: Type: text/plain, Size: 962 bytes --]
Sharon Kimble [2014-04-19 22:59:09 +01:00] wrote:
> Clemens Schüller <cs.mlists+info-gnus@mailbox.org> writes:
>> ╭────
>> │(add-hook 'message-mode-hook
>> │(lambda ()
>> │ (setq fill-column 78)
>> │ (turn-on-auto-fill)))
>> ╰────
> How did you get the solid lines round your box-quote please? It makes
> it stand out and look very professional! :)
Box quote may look nice but it's more difficult to copy the code. Plain
text lines, possibly with indentation, is better:
(add-hook 'message-mode-hook
(lambda ()
(setq fill-column 78)
(turn-on-auto-fill)))
Or maybe plain lines with "cut" markers:
--8<---------------cut here---------------start------------->8---
(add-hook 'message-mode-hook
(lambda ()
(setq fill-column 78)
(turn-on-auto-fill)))
--8<---------------cut here---------------end--------------->8---
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Line length when writing an email
2014-04-19 21:59 ` Sharon Kimble
2014-04-20 5:24 ` Igor Sosa Mayor
2014-04-20 6:11 ` Box-quote (was: Line length when writing an email) Teemu Likonen
@ 2014-04-21 16:49 ` Clemens Schüller
2 siblings, 0 replies; 6+ messages in thread
From: Clemens Schüller @ 2014-04-21 16:49 UTC (permalink / raw)
To: info-gnus-english; +Cc: Sharon Kimble
Hello Sharon!
Sharon Kimble <boudiccas@talktalk.net> writes:
> Clemens Schüller <cs.mlists+info-gnus@mailbox.org> writes:
>> ╭────
>> │(add-hook 'message-mode-hook
>> │(lambda ()
>> │ (setq fill-column 78)
>> │ (turn-on-auto-fill)))
>> ╰────
>>
>> This should work.
> Thanks Clemens, this works beautifully. How did you get the solid lines round
> your box-quote please? It makes it stand out and look very professional! :)
I have the following code in my .emacs:
--8<---------------cut here---------------start------------->8---
(setq boxquote-top-and-tail "────"
boxquote-top-corner "╭"
boxquote-bottom-corner "╰"
boxquote-side "│"
)
--8<---------------cut here---------------end--------------->8---
--
Best Regards, Clemens Schüller
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-04-21 16:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-18 16:52 Line length when writing an email Sharon Kimble
2014-04-18 18:13 ` Clemens Schüller
2014-04-19 21:59 ` Sharon Kimble
2014-04-20 5:24 ` Igor Sosa Mayor
2014-04-20 6:11 ` Box-quote (was: Line length when writing an email) Teemu Likonen
2014-04-21 16:49 ` Line length when writing an email Clemens Schüller
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 NNTP newsgroup(s).