* Howto preserve <tab> key?
@ 2008-07-10 12:31 howcom
2008-07-10 12:50 ` David Kastrup
0 siblings, 1 reply; 4+ messages in thread
From: howcom @ 2008-07-10 12:31 UTC (permalink / raw)
To: help-gnu-emacs
I've recently upgrated to GNU emacs 22.1.1. It seems that version 22
has changed the behavior of the <tab> key; more often than not
pressing tab will result in a series of spaces being added rather than
a real tab character. I know I can insert a real tab by way of C-q,
but I'd like for the <tab> key to also exhibit this behavior. I guess
there's a simple solution to my problem, but I can't find an obvious
answer. Help is appreciated.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Howto preserve <tab> key?
2008-07-10 12:31 Howto preserve <tab> key? howcom
@ 2008-07-10 12:50 ` David Kastrup
2008-07-10 17:05 ` howcom
0 siblings, 1 reply; 4+ messages in thread
From: David Kastrup @ 2008-07-10 12:50 UTC (permalink / raw)
To: help-gnu-emacs
howcom@gmail.com writes:
> I've recently upgrated to GNU emacs 22.1.1. It seems that version 22
> has changed the behavior of the <tab> key; more often than not
> pressing tab will result in a series of spaces being added rather than
> a real tab character.
That's been the default in pretty much all modes (things like
makefile-mode obviously excepted) since as long as I remember using
Emacs, and that's since version 18.something.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Howto preserve <tab> key?
2008-07-10 12:50 ` David Kastrup
@ 2008-07-10 17:05 ` howcom
2008-07-12 15:59 ` Kevin Rodgers
0 siblings, 1 reply; 4+ messages in thread
From: howcom @ 2008-07-10 17:05 UTC (permalink / raw)
To: help-gnu-emacs
On Jul 10, 2:50 pm, David Kastrup <d...@gnu.org> wrote:
> > I've recently upgrated to GNU emacs 22.1.1. It seems that version 22
> > has changed the behavior of the <tab> key; more often than not
> > pressing tab will result in a series of spaces being added rather than
> > a real tab character.
>
> That's been the default in pretty much all modes (things like
> makefile-mode obviously excepted) since as long as I remember using
> Emacs, and that's since version 18.something.
Yes, it has also happened in the past when. However, it happens much
more frequently in emacs 22. I think I may have found a solution:
(setq indent-line-function 'indent-to-left-margin)
It seems as if the default value for indent-line-function was changed
from
'indent-to-left-margin to 'indent-relative at some point; changing it
back
gets me the behavior I'm used to.
Thanks for your answer, though!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Howto preserve <tab> key?
2008-07-10 17:05 ` howcom
@ 2008-07-12 15:59 ` Kevin Rodgers
0 siblings, 0 replies; 4+ messages in thread
From: Kevin Rodgers @ 2008-07-12 15:59 UTC (permalink / raw)
To: help-gnu-emacs
howcom@gmail.com wrote:
> On Jul 10, 2:50 pm, David Kastrup <d...@gnu.org> wrote:
>
>>> I've recently upgrated to GNU emacs 22.1.1. It seems that version 22
>>> has changed the behavior of the <tab> key; more often than not
>>> pressing tab will result in a series of spaces being added rather than
>>> a real tab character.
>> That's been the default in pretty much all modes (things like
>> makefile-mode obviously excepted) since as long as I remember using
>> Emacs, and that's since version 18.something.
>
> Yes, it has also happened in the past when. However, it happens much
> more frequently in emacs 22. I think I may have found a solution:
>
> (setq indent-line-function 'indent-to-left-margin)
>
> It seems as if the default value for indent-line-function was changed
> from
> 'indent-to-left-margin to 'indent-relative at some point; changing it
> back
> gets me the behavior I'm used to.
What does `C-h v indent-tabs-mode' say?
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-07-12 15:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10 12:31 Howto preserve <tab> key? howcom
2008-07-10 12:50 ` David Kastrup
2008-07-10 17:05 ` howcom
2008-07-12 15:59 ` Kevin Rodgers
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).