Aquamacs and ediff bug

View: New views
6 Messages — Rating Filter:   Alert me  

Aquamacs and ediff bug

by Thomas Krennwallner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,

Aquamacs-2009-Oct-16-Fri-0653 2.0 nightly build has an annoying
behavior: if I compare two files and have a diff somewhere, copying
from say region A to region B does not give me two identical lines,
instead, region B is missing a space in the beginning of the line.

Take, as an example, the file A.txt

xxxx
   This is a line.
   and this is another line.
xxxx

and the file B.txt

xxxx
   This is a line,
   and this is another line.
xxxx

Pressing 'a' in ediff-mode results in a B.txt which looks like

xxxx
  This is a line.
   and this is another line.
xxxx

Note that "This" starts in the second column instead of the third.

Best,
Thomas
_______________________________________________
Aquamacs-bugs mailing list
Aquamacs-bugs@...
http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-bugs

Re: Aquamacs and ediff bug

by davidswelt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Does this also occur when you turn off global-smart-spacing-mode? (or  
the buffer-local `smart-spacing-mode' ?)


--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and  
support the Aquamacs Project!


On Oct 16, 2009, at 9:17 AM, Thomas Krennwallner wrote:

> Dear all,
>
> Aquamacs-2009-Oct-16-Fri-0653 2.0 nightly build has an annoying
> behavior: if I compare two files and have a diff somewhere, copying
> from say region A to region B does not give me two identical lines,
> instead, region B is missing a space in the beginning of the line.
>
> Take, as an example, the file A.txt
>
> xxxx
>   This is a line.
>   and this is another line.
> xxxx
>
> and the file B.txt
>
> xxxx
>   This is a line,
>   and this is another line.
> xxxx
>
> Pressing 'a' in ediff-mode results in a B.txt which looks like
>
> xxxx
>  This is a line.
>   and this is another line.
> xxxx
>
> Note that "This" starts in the second column instead of the third.
>
> Best,
> Thomas
> _______________________________________________
> Aquamacs-bugs mailing list
> Aquamacs-bugs@...
> http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-bugs

_______________________________________________
Aquamacs-bugs mailing list
Aquamacs-bugs@...
http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-bugs

Re: Aquamacs and ediff bug

by Thomas Krennwallner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK, that did the trick, after turning off global-smart-spacing-mode,
ediff worked as usual.

On Mon, Oct 19, 2009 at 9:53 PM, David Reitter <david.reitter@...> wrote:

> Does this also occur when you turn off global-smart-spacing-mode? (or the
> buffer-local `smart-spacing-mode' ?)
>
>
> --
> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
> http://aquamacs.org/donate -- Could we help you? Return the favor and
> support the Aquamacs Project!
>
>
> On Oct 16, 2009, at 9:17 AM, Thomas Krennwallner wrote:
>
>> Dear all,
>>
>> Aquamacs-2009-Oct-16-Fri-0653 2.0 nightly build has an annoying
>> behavior: if I compare two files and have a diff somewhere, copying
>> from say region A to region B does not give me two identical lines,
>> instead, region B is missing a space in the beginning of the line.
>>
>> Take, as an example, the file A.txt
>>
>> xxxx
>>  This is a line.
>>  and this is another line.
>> xxxx
>>
>> and the file B.txt
>>
>> xxxx
>>  This is a line,
>>  and this is another line.
>> xxxx
>>
>> Pressing 'a' in ediff-mode results in a B.txt which looks like
>>
>> xxxx
>>  This is a line.
>>  and this is another line.
>> xxxx
>>
>> Note that "This" starts in the second column instead of the third.
>>
>> Best,
>> Thomas
>> _______________________________________________
>> Aquamacs-bugs mailing list
>> Aquamacs-bugs@...
>> http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-bugs
>
>



--
Thomas Krennwallner
Research assistant

TU Wien - Vienna University of Technology
Institute of Information Systems
Favoritenstrasse 9-11
1040 Wien, Austria

T: +43 1 58801 18469
F: +43 1 58801 18493
tkren AT kr DOT tuwien DOT ac DOT at
http://www.kr.tuwien.ac.at/staff/tkren/

DVR: 0005886
_______________________________________________
Aquamacs-bugs mailing list
Aquamacs-bugs@...
http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-bugs

Re: Aquamacs and ediff bug

by davidswelt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 20, 2009, at 2:35 AM, Thomas Krennwallner wrote:

> OK, that did the trick, after turning off global-smart-spacing-mode,
> ediff worked as usual.
>
> On Mon, Oct 19, 2009 at 9:53 PM, David Reitter <david.reitter@...
> > wrote:
>> Does this also occur when you turn off global-smart-spacing-mode?  
>> (or the
>> buffer-local `smart-spacing-mode' ?)
>>
>>
>> --
>> http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
>> http://aquamacs.org/donate -- Could we help you? Return the favor and
>> support the Aquamacs Project!
>>
>>
>> On Oct 16, 2009, at 9:17 AM, Thomas Krennwallner wrote:
>>
>>> Dear all,
>>>
>>> Aquamacs-2009-Oct-16-Fri-0653 2.0 nightly build has an annoying
>>> behavior: if I compare two files and have a diff somewhere, copying
>>> from say region A to region B does not give me two identical lines,
>>> instead, region B is missing a space in the beginning of the line.
>>>
>>> Take, as an example, the file A.txt
>>>
>>> xxxx
>>>  This is a line.
>>>  and this is another line.
>>> xxxx
>>>
>>> and the file B.txt
>>>
>>> xxxx
>>>  This is a line,
>>>  and this is another line.
>>> xxxx
>>>
>>> Pressing 'a' in ediff-mode results in a B.txt which looks like
>>>
>>> xxxx
>>>  This is a line.
>>>  and this is another line.
>>> xxxx
>>>
>>> Note that "This" starts in the second column instead of the third.
>>>
>>> Best,
>>> Thomas
>>> _______________________________________________
>>> Aquamacs-bugs mailing list
>>> Aquamacs-bugs@...
>>> http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-bugs
>>
>>
>
>
>
> --
> Thomas Krennwallner
> Research assistant
>
> TU Wien - Vienna University of Technology
> Institute of Information Systems
> Favoritenstrasse 9-11
> 1040 Wien, Austria
>
> T: +43 1 58801 18469
> F: +43 1 58801 18493
> tkren AT kr DOT tuwien DOT ac DOT at
> http://www.kr.tuwien.ac.at/staff/tkren/
>
> DVR: 0005886

_______________________________________________
Aquamacs-bugs mailing list
Aquamacs-bugs@...
http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-bugs

Re: Aquamacs and ediff bug

by davidswelt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 20, 2009, at 2:35 AM, Thomas Krennwallner wrote:

> OK, that did the trick, after turning off global-smart-spacing-mode,
> ediff worked as usual.


OK.  How exactly do you copy/paste?
Command-C/V, or something else?

Thanks
- David


--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and  
support the Aquamacs Project!
_______________________________________________
Aquamacs-bugs mailing list
Aquamacs-bugs@...
http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-bugs

Re: Aquamacs and ediff bug

by Thomas Krennwallner-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 20, 2009 at 1:53 PM, David Reitter <david.reitter@...> wrote:

> On Oct 20, 2009, at 2:35 AM, Thomas Krennwallner wrote:
>
>> OK, that did the trick, after turning off global-smart-spacing-mode,
>> ediff worked as usual.
>
>
> OK.  How exactly do you copy/paste?
> Command-C/V, or something else?
>
> Thanks
> - David

No, I use ediff's "a/b -copy A/B's region to B/A" command, i.e., I
just press 'a' to get the highlighted diff from buffer A to buffer B.

<snip>
`a'
     _In comparison sessions:_ Copies the current difference region (or
     the region specified as the prefix to this command) from buffer A
     to buffer B.  Ediff saves the old contents of buffer B's region;
     it can be restored via the command `rb', which see.

     _In merge sessions:_ Copies the current difference region (or the
     region specified as the prefix to this command) from buffer A to
     the merge buffer.  The old contents of this region in buffer C can
     be restored via the command `r'.
</snip>

Best,
Thomas
_______________________________________________
Aquamacs-bugs mailing list
Aquamacs-bugs@...
http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-bugs