unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Le Wang <l26wang@gmail.com>
To: rusi <rustompmody@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Indenting paragraphs manually
Date: Sun, 6 Mar 2011 17:10:54 +0800	[thread overview]
Message-ID: <AANLkTi=qUYOkyXPQyf8tfBt+4MqX+hVHe1Z+Y6o2q1UY@mail.gmail.com> (raw)
In-Reply-To: <184d4ba0-d780-40e4-b41d-dfa192450730@s18g2000prg.googlegroups.com>

[-- Attachment #1: Type: text/plain, Size: 1560 bytes --]

It runs indent-line-function, which is indent-relative at the beginning of
each line in the region, because indent-region-function is nil.

On Sun, Mar 6, 2011 at 4:18 PM, rusi <rustompmody@gmail.com> wrote:

> On Mar 6, 4:28 am, PJ Weisberg <p...@irregularexpressions.net> wrote:
> > On Fri, Mar 4, 2011 at 3:17 PM, Dani Moncayo <dmonc...@gmail.com> wrote:
> > > What I was expecting:
> > >  - The selected lines move to the next tab-stop.
> > >  - The region remains active, so that I can repeat the indentation
> > > several times in a row.
> >
> > > What I see:
> > >  - The selected lines are not not moved at all.
> > >  - The region is deactivated.
> >
> > > Please, could someone explain this? Am I missing something?  (I guess I
> > > am, and that's why I'm posting to help-gnu-emacs instead of
> > > bug-gnu-emacs)
> >
> > It certainly does seem like a bug to me.  I would go ahead and report
> > it with M-x report-emacs-bug.
> >
> > -PJ
>
> Theres more strange (buggy?) behavior here.
>
> I took the text (note flush left):
>
> In text modes, <TAB> inserts some combination of space and tab
> characters to advance point to the next tab stop (*note Tab Stops).
> If the region is active and spans multiple lines, it advances the
> first
> character of each of those lines to the next tab stop (*note Using
> Region).  [...]
>
> Then did the described action (except for turning transient-mode on)
> At first it put 1 tab at start of each line
>
> The second time it added 1 tab on 1st line,2 on second, 3 on third, 4
> on fourth etc !!
>



-- 
Le

[-- Attachment #2: Type: text/html, Size: 2321 bytes --]

  reply	other threads:[~2011-03-06  9:10 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-04 23:17 Indenting paragraphs manually Dani Moncayo
2011-03-05 20:26 ` Andrea Crotti
2011-03-05 22:23   ` Harry Putnam
2011-03-06 11:47   ` Dani Moncayo
2011-03-06 13:50     ` Peter Dyballa
2011-03-06 14:12       ` Dani Moncayo
     [not found]     ` <mailman.1.1299419427.17199.help-gnu-emacs@gnu.org>
2011-03-06 14:18       ` Pascal J. Bourguignon
2011-03-07  5:04     ` Le Wang
2011-03-07  7:32       ` Dani Moncayo
2011-03-05 22:01 ` Peter Dyballa
2011-03-06 11:50   ` Dani Moncayo
2011-03-05 23:28 ` PJ Weisberg
2011-03-06  2:29   ` Le Wang
2011-03-06  3:08     ` PJ Weisberg
2011-03-06  8:37       ` Le Wang
     [not found] ` <mailman.4.1299367745.22865.help-gnu-emacs@gnu.org>
2011-03-06  8:18   ` rusi
2011-03-06  9:10     ` Le Wang [this message]
2011-03-06 16:30 ` I filed two bug reports (was: Re: Indenting paragraphs manually) Gregor Zattler
2011-03-06 16:50   ` Dani Moncayo
     [not found] ` <mailman.16.1299356823.24947.help-gnu-emacs@gnu.org>
2011-03-06 17:58   ` Indenting paragraphs manually Uday Reddy
2011-03-06 19:17     ` Dani Moncayo
2011-03-06 19:27       ` Teemu Likonen
2011-03-06 19:42         ` Dani Moncayo
2011-03-06 20:26           ` Drew Adams
2011-03-06 20:57             ` Dani Moncayo
2011-03-06 21:42               ` Drew Adams
2011-03-07 21:58                 ` Perry Smith
2011-03-07 22:14                   ` Drew Adams
2011-03-06 21:44           ` Teemu Likonen
2011-03-07  8:18             ` Teemu Likonen
2011-03-07 13:42               ` Le Wang
2011-03-07 14:38                 ` Le Wang
2011-03-07 14:52                   ` Teemu Likonen
2011-03-07 15:13                   ` Drew Adams
2011-03-07 15:04                 ` Drew Adams
     [not found]             ` <mailman.14.1299485912.29721.help-gnu-emacs@gnu.org>
2011-03-07 16:09               ` Stefan Monnier
2011-03-07 17:02                 ` Teemu Likonen
2011-03-06 19:44       ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=qUYOkyXPQyf8tfBt+4MqX+hVHe1Z+Y6o2q1UY@mail.gmail.com' \
    --to=l26wang@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rustompmody@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).