* Face for the space in the window beneath the contents of the buffer?
@ 2014-02-05 17:14 Tim Visher
2014-02-05 21:56 ` Alex Kost
2014-02-06 14:04 ` Dani Moncayo
0 siblings, 2 replies; 7+ messages in thread
From: Tim Visher @ 2014-02-05 17:14 UTC (permalink / raw)
To: emacs
I'd like some visual indication of where the contents of the buffer
ends. I've always thought it would be nice to have a different color
for the space beneath the buffer in the window.
So if I have a buffer with
```
this is the last line of text in the file
``` note the 2 blank lines at the bottom of the file
displayed in a window that looks like
```
snth
satoe
this is the last line of text in the file
``` Note the 2 extra blank lines
I'd like:
```
Normal Faces
Normal Faces
Normal Faces
Normal Faces
Normal Faces
Face indicating not part of buffer
Face indicating not part of buffer
```
Or something similar.
Thoughts?
--
In Christ,
Timmy V.
http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Face for the space in the window beneath the contents of the buffer?
2014-02-05 17:14 Face for the space in the window beneath the contents of the buffer? Tim Visher
@ 2014-02-05 21:56 ` Alex Kost
2014-02-06 14:27 ` Tim Visher
2014-02-06 14:04 ` Dani Moncayo
1 sibling, 1 reply; 7+ messages in thread
From: Alex Kost @ 2014-02-05 21:56 UTC (permalink / raw)
To: Tim Visher; +Cc: emacs
Tim Visher (2014-02-05 21:14 +0400) wrote:
> I'd like some visual indication of where the contents of the buffer
> ends. I've always thought it would be nice to have a different color
> for the space beneath the buffer in the window.
> ...
Not exactly what you want, but you can use:
(setq-default indicate-empty-lines t)
Also I like this:
(setq-default indicate-buffer-boundaries 'left)
See (info "(elisp) Fringe Indicators") for details.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Face for the space in the window beneath the contents of the buffer?
2014-02-05 21:56 ` Alex Kost
@ 2014-02-06 14:27 ` Tim Visher
0 siblings, 0 replies; 7+ messages in thread
From: Tim Visher @ 2014-02-06 14:27 UTC (permalink / raw)
To: Alex Kost; +Cc: emacs
On Wed, Feb 5, 2014 at 4:56 PM, Alex Kost <alezost@gmail.com> wrote:
> Tim Visher (2014-02-05 21:14 +0400) wrote:
>
>> I'd like some visual indication of where the contents of the buffer
>> ends. I've always thought it would be nice to have a different color
>> for the space beneath the buffer in the window.
>> ...
>
> Not exactly what you want, but you can use:
>
> (setq-default indicate-empty-lines t)
>
> Also I like this:
>
> (setq-default indicate-buffer-boundaries 'left)
>
> See (info "(elisp) Fringe Indicators") for details.
Indeed. When I was running GUI Emacs I would use this with impunity
and to great effect. But now that I live inside tmux at all times I
don't have fringes, hence the Face request.
--
In Christ,
Timmy V.
http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Face for the space in the window beneath the contents of the buffer?
2014-02-05 17:14 Face for the space in the window beneath the contents of the buffer? Tim Visher
2014-02-05 21:56 ` Alex Kost
@ 2014-02-06 14:04 ` Dani Moncayo
2014-02-06 14:27 ` Tim Visher
1 sibling, 1 reply; 7+ messages in thread
From: Dani Moncayo @ 2014-02-06 14:04 UTC (permalink / raw)
To: Tim Visher; +Cc: emacs
On Wed, Feb 5, 2014 at 6:14 PM, Tim Visher <tim.visher@gmail.com> wrote:
> I'd like some visual indication of where the contents of the buffer
> ends. I've always thought it would be nice to have a different color
> for the space beneath the buffer in the window.
>
> [...]
>
> I'd like:
>
> ```
> Normal Faces
> Normal Faces
> Normal Faces
> Normal Faces
> Normal Faces
> Face indicating not part of buffer
> Face indicating not part of buffer
> ```
>
> Or something similar.
>
> Thoughts?
I think it would be a nice feature. I'd prefer that over the current
indicators at the fringe. And moreover, in some situations where
there isn't fringes (eg. on TTY sessions) this would be the only
option to visually show the boundary of the text.
So, I suggest you to report a feature request about this (M-x report-emacs-bug).
--
Dani Moncayo
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Face for the space in the window beneath the contents of the buffer?
2014-02-06 14:04 ` Dani Moncayo
@ 2014-02-06 14:27 ` Tim Visher
0 siblings, 0 replies; 7+ messages in thread
From: Tim Visher @ 2014-02-06 14:27 UTC (permalink / raw)
To: Dani Moncayo; +Cc: emacs
On Thu, Feb 6, 2014 at 9:04 AM, Dani Moncayo <dmoncayo@gmail.com> wrote:
> On Wed, Feb 5, 2014 at 6:14 PM, Tim Visher <tim.visher@gmail.com> wrote:
>> I'd like some visual indication of where the contents of the buffer
>> ends. I've always thought it would be nice to have a different color
>> for the space beneath the buffer in the window.
>>
>> [...]
>>
>> I'd like:
>>
>> ```
>> Normal Faces
>> Normal Faces
>> Normal Faces
>> Normal Faces
>> Normal Faces
>> Face indicating not part of buffer
>> Face indicating not part of buffer
>> ```
>>
>> Or something similar.
>>
>> Thoughts?
>
> I think it would be a nice feature. I'd prefer that over the current
> indicators at the fringe. And moreover, in some situations where
> there isn't fringes (eg. on TTY sessions) this would be the only
> option to visually show the boundary of the text.
>
> So, I suggest you to report a feature request about this (M-x report-emacs-bug).
Sounds good. :)
--
In Christ,
Timmy V.
http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <mailman.13823.1391620498.10748.help-gnu-emacs@gnu.org>]
end of thread, other threads:[~2014-02-06 15:19 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-05 17:14 Face for the space in the window beneath the contents of the buffer? Tim Visher
2014-02-05 21:56 ` Alex Kost
2014-02-06 14:27 ` Tim Visher
2014-02-06 14:04 ` Dani Moncayo
2014-02-06 14:27 ` Tim Visher
[not found] <mailman.13823.1391620498.10748.help-gnu-emacs@gnu.org>
2014-02-06 14:35 ` Damien Wyart
2014-02-06 15:19 ` Tim Visher
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).