unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: delete-indentation - text.texi
       [not found] ` <E1FxPzR-00006v-TQ@fencepost.gnu.org>
@ 2006-07-04  5:30   ` Andreas Roehler
  2006-07-04 15:36     ` Thien-Thi Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Roehler @ 2006-07-04  5:30 UTC (permalink / raw)


Richard Stallman schrieb:
>     I'm afraid, `delete-indentation' is labeled from a side
>     affect of two other functions: join-lines and
>     fixup-whitespace, implemented in C however.
>
> The name `delete-indentation' may be somewhat misleading as a name.
> That is why we made the alias `join-line'.
>
>   
Just give in here an extraction from gnu.emacs.help

which demonstrates, that a pure `delete-indendation'
function might be missed.


,----
|
|
| Re: Indentation
| Von:
| Colin S. Miller <no-spam-thank-you@csmiller.demon.co.uk>
| Datum:
| Dienstag 04 Juli 2006 01:00:08
| Gruppen:
| gnu.emacs.help
| Referenzen: 1
|
| Ronny Mandal wrote:
| > Hi.
| >
| > Does anyone know how I get rid of the annoying indentation after e.g.
| > if-statements (in multiple languages), i.e. (C-example):
| >
| > if(condition)
| >    {    Why?!
| >    }
| >
| >
| > Thanks.
| >
| > -RM
| That's the default indent style, its used for all GNU project code.
|
| (c-add-style "myStyle" '("bsd"
|                         (c-basic-offset . 4)))
|
| (add-hook 'c-mode-common-hook '(lambda ()
|                                   (c-set-style "myStyle")))
|
|
| should change it to a more-normal style.
|
`----

__
Andreas Roehler

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: delete-indentation - text.texi
  2006-07-04  5:30   ` delete-indentation - text.texi Andreas Roehler
@ 2006-07-04 15:36     ` Thien-Thi Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Thien-Thi Nguyen @ 2006-07-04 15:36 UTC (permalink / raw)
  Cc: emacs-devel

Andreas Roehler <andreas.roehler@easy-emacs.de> writes:

> Richard Stallman schrieb:
>
> > The name `delete-indentation' may be somewhat misleading as a name.
> > That is why we made the alias `join-line'.
> >
> >
> Just give in here an extraction from gnu.emacs.help
> 
> which demonstrates, that a pure `delete-indendation'
> function might be missed.

there is `delete-horizontal-space', which works for
indentation and other places, too.

thi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-07-04 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <44A80813.3060209@easy-emacs.de>
     [not found] ` <E1FxPzR-00006v-TQ@fencepost.gnu.org>
2006-07-04  5:30   ` delete-indentation - text.texi Andreas Roehler
2006-07-04 15:36     ` Thien-Thi Nguyen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).