unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: Xue Fuqiao <xfq.free@gmail.com>, 15959@debbugs.gnu.org
Subject: bug#15959: 24.3.50; align.el not working
Date: Sat, 26 Dec 2015 02:15:30 +0100	[thread overview]
Message-ID: <87twn6f1sd.fsf@gnus.org> (raw)
In-Reply-To: <87li0ekeuf.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Sat, 23 Nov 2013 22:06:32 +0100")

Stephen Berman <stephen.berman@gmx.net> writes:

> On Sat, 23 Nov 2013 21:09:44 +0800 Xue Fuqiao <xfq.free@gmail.com> wrote:
>
>> -------------------------------------
>> int var = 2;
>> int variable_is_kinda_long = 3;
>> int var_is_less_long = 4;
>> -------------------------------------
>>
>> To reproduce this bug:
>>
>>   emacs-24.3 -Q
>>   C-x b foo RET
>>   M-x c-mode RET
>>   <Yank the code above>
>>   C-x h
>>   M-x align-regexp RET = RET
>>
>> The result is:
>>
>> ----------------------------------------
>> int var = 2;
>> int variable_is_kinda_long = 3;
>> int var_is_less_long = 4;
>> ----------------------------------------
>
> When I repeat the above recipe, the result I see is this:
>
> ---------------------------------------
> int var			  = 2;
> int variable_is_kinda_long= 3;
> int var_is_less_long	  = 4;
> ---------------------------------------
>
>> Then:
>>
>>   emacs-24.3.50 -Q
>>   C-x b foo RET
>>   M-x c-mode RET
>>   <Yank the first code fragment>
>>   C-x h
>>   M-x align-regexp RET = RET
>>
>> Surprisingly, the result is:
>>
>> ----------------------------------------
>> int var  = 2;
>> int variable_is_kinda_long= 3;
>> int var_is_less_long  = 4;
>> ----------------------------------------
>
> When I repeat this recipe, the result is the same as before, i.e., it is
> still aligned as above for me.

Xue, are you still seeing this problem with Emacs 25?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2015-12-26  1:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-23 13:09 bug#15959: 24.3.50; align.el not working Xue Fuqiao
2013-11-23 21:06 ` Stephen Berman
2015-12-26  1:15   ` Lars Ingebrigtsen [this message]
2015-12-26  5:02 ` Xue Fuqiao

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=87twn6f1sd.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=15959@debbugs.gnu.org \
    --cc=stephen.berman@gmx.net \
    --cc=xfq.free@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.
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).