* Re: how to turn on showing end of file?
[not found] <mailman.6674.1252963061.2239.help-gnu-emacs@gnu.org>
@ 2009-09-16 2:03 ` jidanni
0 siblings, 0 replies; 15+ messages in thread
From: jidanni @ 2009-09-16 2:03 UTC (permalink / raw)
To: politza; +Cc: help-gnu-emacs
(info "(emacs) Useless Whitespace")
To enable this feature, set the buffer-local variable
`indicate-empty-lines' to a non-`nil' value. The default value of this
variable is controlled by the variable `default-indicate-empty-lines';<---Hey, isn't that deprecated?
by setting that variable, you can enable or disable this feature for
all new buffers. (This feature currently doesn't work on text-only
terminals.)<---So that's why I can't see the tildes, and not due to trying vim.
>>>>> "AP" == Andreas Politz <politza@fh-trier.de> writes:
>> -nw, but I can no longer see any of the tilde stuff for after the end of file.
AP> Any chance you are confusing emacs with vim, which has this `tilde
AP> stuff' ?
^ permalink raw reply [flat|nested] 15+ messages in thread
* how to turn on showing end of file?
@ 2009-09-14 20:19 jidanni
2009-09-14 21:03 ` Peter Dyballa
0 siblings, 1 reply; 15+ messages in thread
From: jidanni @ 2009-09-14 20:19 UTC (permalink / raw)
To: help-gnu-emacs
I recall I was able to have some indication
of the end of file, e.g., tildes below.
However nowadays it seems it is gone.
~
~
~
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: how to turn on showing end of file?
2009-09-14 20:19 jidanni
@ 2009-09-14 21:03 ` Peter Dyballa
2009-09-14 21:10 ` jidanni
` (4 more replies)
0 siblings, 5 replies; 15+ messages in thread
From: Peter Dyballa @ 2009-09-14 21:03 UTC (permalink / raw)
To: jidanni; +Cc: help-gnu-emacs
Am 14.09.2009 um 22:19 schrieb jidanni:
> ~
> ~
> ~
Modern Emacsen use the fringes for this purpose.
--
Greetings
Pete
Upgraded, adj.:
Didn't work the first time.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: how to turn on showing end of file?
2009-09-14 21:03 ` Peter Dyballa
@ 2009-09-14 21:10 ` jidanni
2009-09-14 21:17 ` Andreas Politz
2009-09-14 21:22 ` jidanni
` (3 subsequent siblings)
4 siblings, 1 reply; 15+ messages in thread
From: jidanni @ 2009-09-14 21:10 UTC (permalink / raw)
To: peter_dyballa; +Cc: help-gnu-emacs
>>>>> "PD" == Peter Dyballa <Peter_Dyballa@Web.DE> writes:
PD> Modern Emacsen use the fringes for this purpose.
Yes, but they are gone for me, as are the tildes in
$ emacs -nw /etc/motd
Yes I can see the fringe-mode marker when a line wraps, or the \ when using
-nw, but I can no longer see any of the tilde stuff for after the end of file.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: how to turn on showing end of file?
2009-09-14 21:10 ` jidanni
@ 2009-09-14 21:17 ` Andreas Politz
0 siblings, 0 replies; 15+ messages in thread
From: Andreas Politz @ 2009-09-14 21:17 UTC (permalink / raw)
To: help-gnu-emacs
jidanni@jidanni.org writes:
>>>>>> "PD" == Peter Dyballa <Peter_Dyballa@Web.DE> writes:
>
> PD> Modern Emacsen use the fringes for this purpose.
> Yes, but they are gone for me, as are the tildes in
> $ emacs -nw /etc/motd
>
> Yes I can see the fringe-mode marker when a line wraps, or the \ when using
> -nw, but I can no longer see any of the tilde stuff for after the end of file.
Any chance you are confusing emacs with vim, which has this `tilde
stuff' ?
-ap
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: how to turn on showing end of file?
2009-09-14 21:03 ` Peter Dyballa
2009-09-14 21:10 ` jidanni
@ 2009-09-14 21:22 ` jidanni
2009-09-14 21:25 ` jidanni
` (2 subsequent siblings)
4 siblings, 0 replies; 15+ messages in thread
From: jidanni @ 2009-09-14 21:22 UTC (permalink / raw)
To: peter_dyballa; +Cc: help-gnu-emacs
OK, I need to put
(setq indicate-buffer-boundaries t
indicate-empty-lines t)
into some hook that gets called for every buffer, here in emacs-version "23.1.50.1".
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: how to turn on showing end of file?
2009-09-14 21:03 ` Peter Dyballa
2009-09-14 21:10 ` jidanni
2009-09-14 21:22 ` jidanni
@ 2009-09-14 21:25 ` jidanni
2009-09-14 21:30 ` jidanni
2009-09-14 21:41 ` jidanni
4 siblings, 0 replies; 15+ messages in thread
From: jidanni @ 2009-09-14 21:25 UTC (permalink / raw)
To: peter_dyballa; +Cc: help-gnu-emacs
Indeed, I had
(setq indicate-empty-lines t)
but here in emacs-version "23.1.50.1" it is no longer inherited into
every buffer. One needs to put it into some hook.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: how to turn on showing end of file?
2009-09-14 21:03 ` Peter Dyballa
` (2 preceding siblings ...)
2009-09-14 21:25 ` jidanni
@ 2009-09-14 21:30 ` jidanni
2009-09-14 21:41 ` jidanni
4 siblings, 0 replies; 15+ messages in thread
From: jidanni @ 2009-09-14 21:30 UTC (permalink / raw)
To: peter_dyballa; +Cc: help-gnu-emacs
OK: (setq-default indicate-empty-lines t) solved.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: how to turn on showing end of file?
2009-09-14 21:03 ` Peter Dyballa
` (3 preceding siblings ...)
2009-09-14 21:30 ` jidanni
@ 2009-09-14 21:41 ` jidanni
2009-09-14 23:37 ` Peter Dyballa
` (2 more replies)
4 siblings, 3 replies; 15+ messages in thread
From: jidanni @ 2009-09-14 21:41 UTC (permalink / raw)
To: peter_dyballa; +Cc: help-gnu-emacs
OK, here is how I was vicitmized.
I used to use
(setq default-indicate-empty-lines t)
A few days ago I got the message
Compiling file /home/jidanni/.emacs ...
.emacs:436:7:Warning: `default-indicate-empty-lines' is an obsolete variable
(as of Emacs 23.2); use `indicate-empty-lines' instead.
(I wonder how what people who don't compile their .emacs file will get
that news.)
So I changed it to
(setq indicate-empty-lines t)
Then after a few days I started wondering where the indicators went.
So one needs to change it to
(setq-default indicate-empty-lines t)
surprize surprize :-(
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: how to turn on showing end of file?
2009-09-14 21:41 ` jidanni
@ 2009-09-14 23:37 ` Peter Dyballa
2009-09-14 23:45 ` jidanni
2009-09-15 3:09 ` Eli Zaretskii
[not found] ` <mailman.6697.1252984271.2239.help-gnu-emacs@gnu.org>
2 siblings, 1 reply; 15+ messages in thread
From: Peter Dyballa @ 2009-09-14 23:37 UTC (permalink / raw)
To: jidanni; +Cc: help-gnu-emacs
Am 14.09.2009 um 23:41 schrieb jidanni:
> surprize surprize :-(
I'd simply use the customise interface! Writing Elisp code...
--
Greetings
Pete
Wasting time is an important part of living.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: how to turn on showing end of file?
2009-09-14 21:41 ` jidanni
2009-09-14 23:37 ` Peter Dyballa
@ 2009-09-15 3:09 ` Eli Zaretskii
[not found] ` <mailman.6697.1252984271.2239.help-gnu-emacs@gnu.org>
2 siblings, 0 replies; 15+ messages in thread
From: Eli Zaretskii @ 2009-09-15 3:09 UTC (permalink / raw)
To: help-gnu-emacs
> From: jidanni@jidanni.org
> Date: Tue, 15 Sep 2009 05:41:38 +0800
> Cc: help-gnu-emacs@gnu.org
>
> OK, here is how I was vicitmized.
>
> I used to use
> (setq default-indicate-empty-lines t)
>
> A few days ago I got the message
> Compiling file /home/jidanni/.emacs ...
> .emacs:436:7:Warning: `default-indicate-empty-lines' is an obsolete variable
> (as of Emacs 23.2); use `indicate-empty-lines' instead.
>
> (I wonder how what people who don't compile their .emacs file will get
> that news.)
From etc/NEWS, of course:
** All the default-FOO variables that hold the default value of the FOO
variable, are now declared obsolete.
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <mailman.6697.1252984271.2239.help-gnu-emacs@gnu.org>]
* Re: how to turn on showing end of file?
[not found] ` <mailman.6697.1252984271.2239.help-gnu-emacs@gnu.org>
@ 2009-09-15 7:54 ` Sébastien Vauban
2009-09-16 5:15 ` Kevin Rodgers
[not found] ` <mailman.6770.1253080347.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 15+ messages in thread
From: Sébastien Vauban @ 2009-09-15 7:54 UTC (permalink / raw)
To: help-gnu-emacs-mXXj517/zsQ
Hi Eli,
Eli Zaretskii wrote:
>> From: jidanni-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org
>>
>> Warning: `default-indicate-empty-lines' is an obsolete variable
>> (as of Emacs 23.2); use `indicate-empty-lines' instead.
>
> From etc/NEWS, of course:
>
> ** All the default-FOO variables that hold the default value of the FOO
> variable, are now declared obsolete.
Really ALL those variables beginning with `default-', such as:
--8<---------------cut here---------------start------------->8---
(setq default-case-fold-search t)
(setq default-directory "XXX")
(setq default-frame-alist '((tool-bar-lines . 1)))
(setq default-enable-multibyte-characters t)
(setq default-input-method "latin-1-prefix")
(setq default-major-mode 'org-mode)
--8<---------------cut here---------------end--------------->8---
Is, then, the following correct starting from Emacs 23.2?
--8<---------------cut here---------------start------------->8---
(setq-default case-fold-search t)
(setq-default directory "XXX")
(setq-default frame-alist '((tool-bar-lines . 1)))
(setq-default enable-multibyte-characters t)
(setq-default input-method "latin-1-prefix")
(setq-default major-mode 'org-mode)
--8<---------------cut here---------------end--------------->8---
Thanks for giving this precision...
Best regards,
Seb
--
Sébastien Vauban
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: how to turn on showing end of file?
2009-09-15 7:54 ` Sébastien Vauban
@ 2009-09-16 5:15 ` Kevin Rodgers
[not found] ` <mailman.6770.1253080347.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 15+ messages in thread
From: Kevin Rodgers @ 2009-09-16 5:15 UTC (permalink / raw)
To: help-gnu-emacs
Sébastien Vauban wrote:
> Hi Eli,
>
> Eli Zaretskii wrote:
>>> From: jidanni@jidanni.org
>>>
>>> Warning: `default-indicate-empty-lines' is an obsolete variable
>>> (as of Emacs 23.2); use `indicate-empty-lines' instead.
>> From etc/NEWS, of course:
>>
>> ** All the default-FOO variables that hold the default value of the FOO
>> variable, are now declared obsolete.
>
> Really ALL those variables beginning with `default-', such as:
>
> --8<---------------cut here---------------start------------->8---
> (setq default-case-fold-search t)
> (setq default-directory "XXX")
> (setq default-frame-alist '((tool-bar-lines . 1)))
> (setq default-enable-multibyte-characters t)
> (setq default-input-method "latin-1-prefix")
> (setq default-major-mode 'org-mode)
> --8<---------------cut here---------------end--------------->8---
No, only those variables that hold the default value of the FOO variable. E.g.
there is no `directory' variable.
Try: C-h d \`Default value of
> Is, then, the following correct starting from Emacs 23.2?
>
> --8<---------------cut here---------------start------------->8---
> (setq-default case-fold-search t)
> (setq-default directory "XXX")
> (setq-default frame-alist '((tool-bar-lines . 1)))
> (setq-default enable-multibyte-characters t)
> (setq-default input-method "latin-1-prefix")
> (setq-default major-mode 'org-mode)
> --8<---------------cut here---------------end--------------->8---
No.
> Thanks for giving this precision...
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <mailman.6770.1253080347.2239.help-gnu-emacs@gnu.org>]
* Re: how to turn on showing end of file?
[not found] ` <mailman.6770.1253080347.2239.help-gnu-emacs@gnu.org>
@ 2009-09-16 14:18 ` Sébastien Vauban
0 siblings, 0 replies; 15+ messages in thread
From: Sébastien Vauban @ 2009-09-16 14:18 UTC (permalink / raw)
To: help-gnu-emacs-mXXj517/zsQ
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1500 bytes --]
Hi Kevin,
Kevin Rodgers wrote:
> Sébastien Vauban wrote:
>> Hi Eli,
>>
>> Eli Zaretskii wrote:
>>>> From: jidanni-8D0D3YcSAvhAfugRpC6u6w@public.gmane.org
>>>>
>>>> Warning: `default-indicate-empty-lines' is an obsolete variable
>>>> (as of Emacs 23.2); use `indicate-empty-lines' instead.
>>> From etc/NEWS, of course:
>>>
>>> ** All the default-FOO variables that hold the default value of the FOO
>>> variable, are now declared obsolete.
>>
>> Really ALL those variables beginning with `default-', such as:
>>
>> --8<---------------cut here---------------start------------->8---
>> (setq default-case-fold-search t)
>> (setq default-directory "XXX")
>> (setq default-frame-alist '((tool-bar-lines . 1)))
>> (setq default-enable-multibyte-characters t)
>> (setq default-input-method "latin-1-prefix")
>> (setq default-major-mode 'org-mode)
>> --8<---------------cut here---------------end--------------->8---
>
> No, only those variables that hold the default value of the FOO variable.
Right. Of course, that seems obvious now that it is said! Indeed...
> Try: C-h d \`Default value of
I don't understand why, but even without the backquote, I have an error when
trying the above command:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-type-argument stringp t)
string-match("\\(of\\|value\\|Default\\).+\\(of\\|value\\|Default\\)" t)
apropos-documentation-internal(t)
#[(symbol) "Æ\b!\x11\bÇN\x12¨\x0f
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2009-09-16 14:18 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.6674.1252963061.2239.help-gnu-emacs@gnu.org>
2009-09-16 2:03 ` how to turn on showing end of file? jidanni
2009-09-14 20:19 jidanni
2009-09-14 21:03 ` Peter Dyballa
2009-09-14 21:10 ` jidanni
2009-09-14 21:17 ` Andreas Politz
2009-09-14 21:22 ` jidanni
2009-09-14 21:25 ` jidanni
2009-09-14 21:30 ` jidanni
2009-09-14 21:41 ` jidanni
2009-09-14 23:37 ` Peter Dyballa
2009-09-14 23:45 ` jidanni
2009-09-15 3:09 ` Eli Zaretskii
[not found] ` <mailman.6697.1252984271.2239.help-gnu-emacs@gnu.org>
2009-09-15 7:54 ` Sébastien Vauban
2009-09-16 5:15 ` Kevin Rodgers
[not found] ` <mailman.6770.1253080347.2239.help-gnu-emacs@gnu.org>
2009-09-16 14:18 ` Sébastien Vauban
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).