* Add static word wrap line
@ 2008-08-11 6:55 Alexander
2008-08-11 19:53 ` Nikolaj Schumacher
2008-08-11 20:28 ` Drew Adams
0 siblings, 2 replies; 5+ messages in thread
From: Alexander @ 2008-08-11 6:55 UTC (permalink / raw)
To: help-gnu-emacs
Hello.
I'm using GNU Emacs 23.0.60.2.
How can i add a static word wrap line - A vertiacal line for example at
the eightieth symbol of the line.
Thanks.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Add static word wrap line
2008-08-11 6:55 Add static word wrap line Alexander
@ 2008-08-11 19:53 ` Nikolaj Schumacher
2008-08-11 20:17 ` Lennart Borgman (gmail)
2008-08-11 20:28 ` Drew Adams
1 sibling, 1 reply; 5+ messages in thread
From: Nikolaj Schumacher @ 2008-08-11 19:53 UTC (permalink / raw)
To: coopht; +Cc: help-gnu-emacs
Alexander <coopht@gmail.com> wrote:
> How can i add a static word wrap line - A vertiacal line for example at the
> eightieth symbol of the line.
As far as I know there's no way to draw such a line. There are ways to
highlight characters beyond that line, including the package I actually
just released today:
http://nschum.de/src/emacs/highlight-80+/
You can find more ways here:
http://www.emacswiki.org/cgi-bin/wiki/FindLongLines#ShowLongLines
and maybe here:
http://www.emacswiki.org/cgi-bin/wiki/EightyColumnRule
regards,
Nikolaj Schumacher
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Add static word wrap line
2008-08-11 19:53 ` Nikolaj Schumacher
@ 2008-08-11 20:17 ` Lennart Borgman (gmail)
2008-08-11 20:46 ` Nikolaj Schumacher
0 siblings, 1 reply; 5+ messages in thread
From: Lennart Borgman (gmail) @ 2008-08-11 20:17 UTC (permalink / raw)
To: Nikolaj Schumacher; +Cc: help-gnu-emacs
Nikolaj Schumacher wrote:
> Alexander <coopht@gmail.com> wrote:
>
>> How can i add a static word wrap line - A vertiacal line for example at the
>> eightieth symbol of the line.
>
> As far as I know there's no way to draw such a line. There are ways to
> highlight characters beyond that line, including the package I actually
> just released today:
>
> http://nschum.de/src/emacs/highlight-80+/
>
> You can find more ways here:
> http://www.emacswiki.org/cgi-bin/wiki/FindLongLines#ShowLongLines
>
> and maybe here:
> http://www.emacswiki.org/cgi-bin/wiki/EightyColumnRule
Maybe vline et al can be useful too - even if they do not do exactly
what Alexander wants. (Maybe they can be a start for making something
like it?)
http://www.emacswiki.org/cgi-bin/wiki/VlineMode
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: Add static word wrap line
2008-08-11 6:55 Add static word wrap line Alexander
2008-08-11 19:53 ` Nikolaj Schumacher
@ 2008-08-11 20:28 ` Drew Adams
1 sibling, 0 replies; 5+ messages in thread
From: Drew Adams @ 2008-08-11 20:28 UTC (permalink / raw)
To: coopht, help-gnu-emacs
> How can i add a static word wrap line - A vertiacal line for
> example at the eightieth symbol of the line.
What do you mean by "vertical line"? Are you just looking for a displayed
vertical line, to remind you of the word-wrap column?
If so, there are solutions here:
http://www.emacswiki.org/cgi-bin/wiki/HighlightCurrentColumn.
They let you display a vertical line at any column. By itself, this display
artefact has no effect on word-wrap. But you can use the same column (e.g. 80)
for word-wrapping.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Add static word wrap line
2008-08-11 20:17 ` Lennart Borgman (gmail)
@ 2008-08-11 20:46 ` Nikolaj Schumacher
0 siblings, 0 replies; 5+ messages in thread
From: Nikolaj Schumacher @ 2008-08-11 20:46 UTC (permalink / raw)
To: Lennart Borgman (gmail); +Cc: help-gnu-emacs
"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> wrote:
> Maybe vline et al can be useful too - even if they do not do exactly what
> Alexander wants. (Maybe they can be a start for making something like it?)
Indeed.
--- vline.el 2008-08-11 22:35:06.000000000 +0200
+++ vline.el 2008-08-11 22:40:14.000000000 +0200
@@ -119,7 +119,7 @@
(if point
(goto-char point)
(setq point (point)))
- (let* ((column (current-column))
+ (let* ((column 80)
(i 0)
(compose-p (memq vline-style '(compose mixed)))
(face-p (memq vline-style '(face mixed)))
Although it has some problems. The line appears with the cursor at the
end of a line, and `beginning-of-buffer' doesn't redraw the line.
I hope someone picks this up.
regards,
Nikolaj Schumacher
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-11 20:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-11 6:55 Add static word wrap line Alexander
2008-08-11 19:53 ` Nikolaj Schumacher
2008-08-11 20:17 ` Lennart Borgman (gmail)
2008-08-11 20:46 ` Nikolaj Schumacher
2008-08-11 20:28 ` Drew Adams
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.