GNU bug report logs -
#51411
NS port cleanups
Previous Next
Reported by: Po Lu <luangruo <at> yahoo.com>
Date: Tue, 26 Oct 2021 11:43:01 UTC
Severity: normal
Tags: patch
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
I did not notice that the thread previously titled "NS port
improvements" was moved off bug#51251 onto emacs-devel, but now that
there are concrete changes I think it would be a good opportunity to
post them on bug-gnu-emacs, per the CONTRIBUTE document.
The changes, with the generic improvements split from the changes to
font rendering are attached.
Alan raised several questions, which I answered. I've reproduced that
part of the discussion below:
> Is there any reason to nest ns_focus? There are (according to Apple)
> performance reasons to not save the context unless you really need to.
Right now it's used in the code that clips to the exact bounds of a
string, if a string's overhangs are already drawn.
I couldn't find a cleaner way to do this, and that situation is rare, so
I think the performance problems will usually be avoided.
> I mean alt as defined by GNUstep in the quote I sent you in my last
> email. I don't think it's our job to say that GNUstep's choice of
> defaults is wrong and therefore do something that would be unexpected
> for a GNUstep user.
Well, on every other platform Meta is on the alt on the users' keyboard.
Emacs in general doesn't conform to the platform expectations WRT to key
bindings, so I think being consistent with Emacs on other platforms is
more important here.
But in the end, it's your call. Thanks.
[0002-General-improvements-to-NS-port.patch (text/x-patch, attachment)]
[0001-Improve-font-display-on-NS-port.patch (text/x-patch, attachment)]
This bug report was last modified 3 years and 194 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.