* bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs
@ 2008-10-21 13:42 Adrian Robert
2008-12-23 1:31 ` Alex Schröder
0 siblings, 1 reply; 6+ messages in thread
From: Adrian Robert @ 2008-10-21 13:42 UTC (permalink / raw
To: 1151; +Cc: Alex
Hi,
I am interested in having Emacs continue to work under Panther but
don't have access to a test environment myself. Could you try
commenting out the part of the 'if' statement involving
"typeUTF16ExternalRepresentation" and see where that gets you?
If you get it working and send me a list of all places that you needed
to change, I can put in #ifdefs etc. so it will work out of the box.
thanks,
Adrian
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs
2008-10-21 13:42 bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs Adrian Robert
@ 2008-12-23 1:31 ` Alex Schröder
2008-12-23 8:54 ` Adrian Robert
2008-12-29 11:05 ` Alex Schröder
0 siblings, 2 replies; 6+ messages in thread
From: Alex Schröder @ 2008-12-23 1:31 UTC (permalink / raw
To: Adrian Robert; +Cc: 1151
On Tue, Oct 21, 2008 at 2:42 PM, Adrian Robert
<adrian.b.robert@gmail.com> wrote:
> I am interested in having Emacs continue to work under Panther but don't
> have access to a test environment myself. Could you try commenting out the
> part of the 'if' statement involving "typeUTF16ExternalRepresentation" and
> see where that gets you?
>
> If you get it working and send me a list of all places that you needed to
> change, I can put in #ifdefs etc. so it will work out of the box.
Hi Adrian
Indeed, that does work!
This is the only change I made:
cvs diff: Diffing src
Index: src/nsfns.m
===================================================================
RCS file: /sources/emacs/emacs/src/nsfns.m,v
retrieving revision 1.29
diff -c -r1.29 nsfns.m
*** src/nsfns.m 7 Dec 2008 05:00:56 -0000 1.29
--- src/nsfns.m 23 Dec 2008 01:27:36 -0000
***************
*** 2054,2061 ****
*result = Qt;
// script returned an AppleScript result
if ((typeUnicodeText == [returnDescriptor descriptorType]) ||
! (typeUTF16ExternalRepresentation
! == [returnDescriptor descriptorType]) ||
(typeUTF8Text == [returnDescriptor descriptorType]) ||
(typeCString == [returnDescriptor descriptorType]))
{
--- 2054,2061 ----
*result = Qt;
// script returned an AppleScript result
if ((typeUnicodeText == [returnDescriptor descriptorType]) ||
! // (typeUTF16ExternalRepresentation
! // == [returnDescriptor descriptorType]) ||
(typeUTF8Text == [returnDescriptor descriptorType]) ||
(typeCString == [returnDescriptor descriptorType]))
{
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs
2008-12-23 1:31 ` Alex Schröder
@ 2008-12-23 8:54 ` Adrian Robert
2008-12-29 11:05 ` Alex Schröder
1 sibling, 0 replies; 6+ messages in thread
From: Adrian Robert @ 2008-12-23 8:54 UTC (permalink / raw
To: Alex Schröder; +Cc: 1151
On Dec 23, 2008, at 3:31 AM, Alex Schröder wrote:
> On Tue, Oct 21, 2008 at 2:42 PM, Adrian Robert
> <adrian.b.robert@gmail.com> wrote:
>> I am interested in having Emacs continue to work under Panther but
>> don't
>> have access to a test environment myself. Could you try
>> commenting out the
>> part of the 'if' statement involving
>> "typeUTF16ExternalRepresentation" and
>> see where that gets you?
>>
>> If you get it working and send me a list of all places that you
>> needed to
>> change, I can put in #ifdefs etc. so it will work out of the box.
>
> Hi Adrian
>
> Indeed, that does work!
Great to hear, I will apply a version of this patch using appropriate
#ifdefs soon after the holidays, or feel free to commit one yourself
if you have access.
thanks,
Adrian
> This is the only change I made:
>
> cvs diff: Diffing src
> Index: src/nsfns.m
> ===================================================================
> RCS file: /sources/emacs/emacs/src/nsfns.m,v
> retrieving revision 1.29
> diff -c -r1.29 nsfns.m
> *** src/nsfns.m 7 Dec 2008 05:00:56 -0000 1.29
> --- src/nsfns.m 23 Dec 2008 01:27:36 -0000
> ***************
> *** 2054,2061 ****
> *result = Qt;
> // script returned an AppleScript result
> if ((typeUnicodeText == [returnDescriptor descriptorType]) ||
> ! (typeUTF16ExternalRepresentation
> ! == [returnDescriptor descriptorType]) ||
> (typeUTF8Text == [returnDescriptor descriptorType]) ||
> (typeCString == [returnDescriptor descriptorType]))
> {
> --- 2054,2061 ----
> *result = Qt;
> // script returned an AppleScript result
> if ((typeUnicodeText == [returnDescriptor descriptorType]) ||
> ! // (typeUTF16ExternalRepresentation
> ! // == [returnDescriptor descriptorType]) ||
> (typeUTF8Text == [returnDescriptor descriptorType]) ||
> (typeCString == [returnDescriptor descriptorType]))
> {
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs
2008-12-23 1:31 ` Alex Schröder
2008-12-23 8:54 ` Adrian Robert
@ 2008-12-29 11:05 ` Alex Schröder
2008-12-29 12:56 ` Alex Schröder
1 sibling, 1 reply; 6+ messages in thread
From: Alex Schröder @ 2008-12-29 11:05 UTC (permalink / raw
To: Adrian Robert; +Cc: 1151
I've come back to my Mac after a few days and noticed a problem with
the patched version. My Mac has a Swiss German keyboard. The keys
producing ASCII characters all work. Therefore the layout is correct.
But the non-ASCII are wrong: The sequence çäöüàéè results in Á‰ˆ¸‡ÈË,
for example.
I'm not sure this is related to the patch, because the patch concerns
ns_do_applescript… Hm...
> On Tue, Oct 21, 2008 at 2:42 PM, Adrian Robert wrote:
>> commenting out the
>> part of the 'if' statement involving "typeUTF16ExternalRepresentation" and
>> see where that gets you?
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs
2008-12-29 11:05 ` Alex Schröder
@ 2008-12-29 12:56 ` Alex Schröder
2008-12-30 0:07 ` Alex Schröder
0 siblings, 1 reply; 6+ messages in thread
From: Alex Schröder @ 2008-12-29 12:56 UTC (permalink / raw
To: Adrian Robert; +Cc: 1151
More info on the strange mapping for äöü and related non-ASCII
characters. When I use C-h k ä I get the following information:
‰ (translated from ä) runs the command self-insert-command, which is
an interactive built-in function in `C source code'.
So Emacs does at some point in time recognize the ä.
On Mon, Dec 29, 2008 at 12:05 PM, Alex Schröder <kensanata@gmail.com> wrote:
> I've come back to my Mac after a few days and noticed a problem with
> the patched version. My Mac has a Swiss German keyboard. The keys
> producing ASCII characters all work. Therefore the layout is correct.
> But the non-ASCII are wrong: The sequence çäöüàéè results in Á‰ˆ¸‡ÈË,
> for example.
>
> I'm not sure this is related to the patch, because the patch concerns
> ns_do_applescript… Hm...
^ permalink raw reply [flat|nested] 6+ messages in thread
* bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs
2008-12-29 12:56 ` Alex Schröder
@ 2008-12-30 0:07 ` Alex Schröder
0 siblings, 0 replies; 6+ messages in thread
From: Alex Schröder @ 2008-12-30 0:07 UTC (permalink / raw
To: Adrian Robert; +Cc: 1151
I was able to reproduce this bug on my unpatched Emacs running on Mac
OS 10.4 so I will open a new bug.
On Mon, Dec 29, 2008 at 1:56 PM, Alex Schröder <kensanata@gmail.com> wrote:
> More info on the strange mapping for äöü and related non-ASCII
> characters. When I use C-h k ä I get the following information:
>
> ‰ (translated from ä) runs the command self-insert-command, which is
> an interactive built-in function in `C source code'.
>
> So Emacs does at some point in time recognize the ä.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-12-30 0:07 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-21 13:42 bug#1151: #1151 - Building Emacs on Mac OS 10.3.9 - Emacs bug report logs Adrian Robert
2008-12-23 1:31 ` Alex Schröder
2008-12-23 8:54 ` Adrian Robert
2008-12-29 11:05 ` Alex Schröder
2008-12-29 12:56 ` Alex Schröder
2008-12-30 0:07 ` Alex Schröder
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.