From: Angelo Graziosi <angelo.graziosi@alice.it>
To: 18993@debbugs.gnu.org
Subject: bug#18993: Emacs trunk often freezes on NS
Date: Sun, 09 Nov 2014 11:23:32 +0100 [thread overview]
Message-ID: <545F40A4.20703@alice.it> (raw)
In-Reply-To: <545E0FD4.6040102@alice.it>
After seeing this commit:
Attempt to fix NS hang. Will probably cause merge conflicts.
Jan D. 2014-11-08 16:32:37 (GMT)
I tried to build Emacs current trunk:
Fix bootstrap failure after last change to eval-and-compile.
Stefan Monnier 2014-11-09 05:14:25 (GMT)
but it fails:
[...]
nsterm.m:2153:5: warning: 'NSCopyBits' is deprecated: first deprecated
in OS X 10.10 [-Wdeprecated-declarations]
NSCopyBits (0, srcRect , dstOrigin);
^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:232:20:
note: 'NSCopyBits' has been explicitly marked deprecated here
APPKIT_EXTERN void NSCopyBits(NSInteger srcGState, NSRect srcRect,
NSPoint destPoint) NS_DEPRECATED_MAC(10_0, 10_10);
^
nsterm.m:2215:3: warning: 'NSCopyBits' is deprecated: first deprecated
in OS X 10.10 [-Wdeprecated-declarations]
NSCopyBits (0, srcRect, dstOrigin);
^
/System/Library/Frameworks/AppKit.framework/Headers/NSGraphics.h:232:20:
note: 'NSCopyBits' has been explicitly marked deprecated here
APPKIT_EXTERN void NSCopyBits(NSInteger srcGState, NSRect srcRect,
NSPoint destPoint) NS_DEPRECATED_MAC(10_0, 10_10);
^
nsterm.m:3922:11: error: use of undeclared identifier 'update_p'
update_p = YES;
^
nsterm.m:3926:7: error: use of undeclared identifier 'update_p'
if (update_p)
^
nsterm.m:4770:11: warning: 'NSRunAlertPanel' is deprecated: first
deprecated in OS X 10.10 - Use NSAlert instead [-Wdeprecated-declarations]
ret = NSRunAlertPanel(ns_app_name,
^
/System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:48:25:
note: 'NSRunAlertPanel' has been explicitly marked deprecated here
APPKIT_EXTERN NSInteger NSRunAlertPanel(NSString *title, NSString
*msgFormat, NSString *defaultButton, NSString *alternateButton, NSString
*otherButton, ...) NS_FORMAT_FUNCTION(2,6) NS_DEPRECATED_MAC(10_0,
10_10, "Use NSAlert instead");
^
nsterm.m:4774:16: warning: 'NSAlertDefaultReturn' is deprecated: first
deprecated in OS X 10.10 - Use NSAlertFirstButtonReturn, etc instead
[-Wdeprecated-declarations]
if (ret == NSAlertDefaultReturn)
^
/System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:79:5:
note: 'NSAlertDefaultReturn' has been explicitly marked deprecated here
NSAlertDefaultReturn NS_ENUM_DEPRECATED_MAC(10_0, 10_10, "Use
NSAlertFirstButtonReturn, etc instead") = 1,
^
nsterm.m:4776:21: warning: 'NSAlertAlternateReturn' is deprecated: first
deprecated in OS X 10.10 - Use NSAlertFirstButtonReturn, etc instead
[-Wdeprecated-declarations]
else if (ret == NSAlertAlternateReturn)
^
/System/Library/Frameworks/AppKit.framework/Headers/NSPanel.h:80:5:
note: 'NSAlertAlternateReturn' has been explicitly marked deprecated here
NSAlertAlternateReturn NS_ENUM_DEPRECATED_MAC(10_0, 10_10, "Use
NSAlertFirstButtonReturn, etc instead") = 0,
^
nsterm.m:6127:8: warning: 'useOptimizedDrawing:' is deprecated: first
deprecated in OS X 10.10 [-Wdeprecated-declarations]
[win useOptimizedDrawing: YES];
^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:674:1:
note: 'useOptimizedDrawing:' has been explicitly marked deprecated here
- (void)useOptimizedDrawing:(BOOL)flag NS_DEPRECATED_MAC(10_0, 10_10);
^
nsterm.m:6189:9: warning: 'allocateGState' is deprecated: first
deprecated in OS X 10.10 [-Wdeprecated-declarations]
[self allocateGState];
^
/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:600:1:
note: 'allocateGState' has been explicitly marked deprecated here
- (void)allocateGState NS_DEPRECATED_MAC(10_0, 10_10);
^
nsterm.m:6515:11: warning: 'useOptimizedDrawing:' is deprecated: first
deprecated in OS X 10.10 [-Wdeprecated-declarations]
[fw useOptimizedDrawing: YES];
^
/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:674:1:
note: 'useOptimizedDrawing:' has been explicitly marked deprecated here
- (void)useOptimizedDrawing:(BOOL)flag NS_DEPRECATED_MAC(10_0, 10_10);
^
nsterm.m:6756:1: warning: conflicting return type in implementation of
'draggingEntered:': 'NSDragOperation' (aka 'enum NSDragOperation') vs
'NSUInteger' (aka 'unsigned long') [-Wmismatched-return-types]
-(NSUInteger) draggingEntered: (id <NSDraggingInfo>) sender
^ ~~~~~~~~~~
/System/Library/Frameworks/AppKit.framework/Headers/NSDragging.h:98:1:
note: previous definition is here
- (NSDragOperation)draggingEntered:(id <NSDraggingInfo>)sender;
^ ~~~~~~~~~~~~~~~
nsterm.m:7145:33: warning: 'scrollerWidth' is deprecated: first
deprecated in OS X 10.7 - Use
+scrollerWidthForControlSize:scrollerStyle: instead
[-Wdeprecated-declarations]
r.size.width = [EmacsScroller scrollerWidth];
^
/System/Library/Frameworks/AppKit.framework/Headers/NSScroller.h:120:1:
note: 'scrollerWidth' has been explicitly marked deprecated here
+ (CGFloat)scrollerWidth NS_DEPRECATED_MAC(10_0, 10_7, "Use
+scrollerWidthForControlSize:scrollerStyle: instead");
[...]
In my OP I forgot to say that these issues occur on OSX 10.10.
Ciao,
Angelo.
Il 08/11/2014 13:43, Angelo Graziosi ha scritto:
> After the changes of rev. 118192 (for which I already did a bug report
> [*]) and their fixes, Emacs trunk often freezes on NS. It seems that
> this occurs mainly when I double click a text to be copy/paste
> (elsewhere, usually) with CMD-c/CMD-v
>
> I notice also another thing.. When I run M-x SOMETHING the text at about
> the center of the frame (say a rectangle whose height is about that of
> the frame and the width is about 10 characters) is blanked (this for
> about the time in which M-x SOMETHING is executed).
>
> I haven't an exact recipe to reproduce the above issue, but I see them
> since trunk > Oct 22-23.
>
> The attached tar-ball contains both the Emacs forced quit report sent to
> Apple and the output of M-x report-emacs-bug.
>
>
> Ciao,
> Angelo.
>
>
> ---
> [*] http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-10/msg01068.html
next prev parent reply other threads:[~2014-11-09 10:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-08 12:43 bug#18993: Emacs trunk often freezes on NS Angelo Graziosi
2014-11-09 10:23 ` Angelo Graziosi [this message]
2014-11-10 6:08 ` Alp Aker
2014-11-10 8:10 ` Alp Aker
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=545F40A4.20703@alice.it \
--to=angelo.graziosi@alice.it \
--cc=18993@debbugs.gnu.org \
/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 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.