unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: Pretest next week
@ 2009-03-05 17:15 Adrian Robert
  2009-03-06  1:01 ` YAMAMOTO Mitsuharu
  0 siblings, 1 reply; 108+ messages in thread
From: Adrian Robert @ 2009-03-05 17:15 UTC (permalink / raw)
  To: YAMAMOTO Mitsuharu; +Cc: emacs-devel


YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:

 > In the reported case,
 > read_socket_hook is called from the select (ns_select, actually) call
 > in wait_reading_process_output, and a menu bar activation there leads
 > to Lisp evaluation containing Faccept_process_output.

It appears that a call verify-visited-file-modtime happens for each  
active
menu item, which then triggers tramp to go and check on the server.   
This
causes a reentrant call to wait_reading_process_output, thence a  
reentrant
call to ns_select.  I've added a check in the latter to shortcircuit  
in the
reentrant case.  There is still a delay when requesting a menu, but  
this is
probably unavoidable if the visited modtime must be checked for each  
menu
item.

I've looked at your code in the Carbon AppKit port and it seems like  
your
approach to handling menu events there could be applied to the NS  
port.  The
only difference I see in your event handling is processing all event  
types in
one function instead of passing them through NSApp-sendEvent: to go be
distributed through ordinary Cocoa channels to widgets.  But since - 
sendEvent:
is an interception point, the menu events could be taken there.





^ permalink raw reply	[flat|nested] 108+ messages in thread
* Pretest next week
@ 2012-11-17  8:17 Chong Yidong
  0 siblings, 0 replies; 108+ messages in thread
From: Chong Yidong @ 2012-11-17  8:17 UTC (permalink / raw)
  To: emacs-devel

Barring unforseen problems, I will make the 24.2.90 pretest next week,
Saturday the 24th.  Please plan your commits accordingly, thanks.

This is a good time to concentrate on bugs that ought to be fixed for
24.3 (mainly, regressions against 23.1+).  If you know of a bug that is
not receiving enough attention, please point it out.



^ permalink raw reply	[flat|nested] 108+ messages in thread
* Re: Pretest next week
@ 2009-05-20 23:39 Chong Yidong
  2009-05-23  4:45 ` Chong Yidong
  0 siblings, 1 reply; 108+ messages in thread
From: Chong Yidong @ 2009-05-20 23:39 UTC (permalink / raw)
  To: emacs-devel

> I'm planning to make the 23.0.94 pretest next Wednesday, the 20th.

I'm delaying the pretest for a few days, because of Bug#2667, the
enable-character-translation issue, and a couple of other things.  Sorry
for the inconvenience.




^ permalink raw reply	[flat|nested] 108+ messages in thread
* Pretest next week
@ 2009-05-15  2:31 Chong Yidong
  0 siblings, 0 replies; 108+ messages in thread
From: Chong Yidong @ 2009-05-15  2:31 UTC (permalink / raw)
  To: emacs-devel

Hi all,

I'm planning to make the 23.0.94 pretest next Wednesday, the 20th.

The release seems to be coming along nicely; the font code seems to have
converged at last (with the exception of #2667), and most of the
documentation work is now done.  I'm thinking of cutting the branch
after the next pretest, so that some of the pent-up patches can start
being applied.  I have not, however, discussed this in detail with
Stefan yet.  If you like, please feel free to weigh in with opinions
and/or concerns about the release process.

Thanks.




^ permalink raw reply	[flat|nested] 108+ messages in thread
* Re: Pretest next week
@ 2009-01-29  3:39 Chetan Pandya
  0 siblings, 0 replies; 108+ messages in thread
From: Chetan Pandya @ 2009-01-29  3:39 UTC (permalink / raw)
  To: Stefan Monnier, Adrian Robert; +Cc: Chong Yidong, Jason Rumney, emacs-devel

From: Stefan Monnier <monnier@iro.umontreal.ca>


> Yes, adding

>     else if (pending_atimers)                \
>       do_pending_atimers();                \

> at the end of QUIT allows poll_timer() to fire under SYNC_INPUT and Ctrl-g
> to be detected, with no apparent other ill effects (in very  limited
> testing).

Good.

>> If so, we should probably create a new
>> var `pending_signals', which should always reflect
>> "pending_timers || interrupt_input_pending"

> I'm not sure if the extra 0-comparison would significantly add to overhead
> but I guess code size could take a hit.

It's easy for the CPU to predict those jumps, but I still think the
current QUIT is already pretty costly, so I'd rather not make it worse.

> Though maybe the  part of QUIT above (when there is a quit_flag) could
> also be reduced to a function call to slim things down?

Yes, that would be good as well.


        Stefan

----------------
I am not sure code size is really an issue. Emacs executable is already huge.
On the other hand, merging flags set by different signal handlers is a problem.
It is quite possible for a signal handler to fire when another signal handler is 
running, unless other signals have been blocked. This can interfere with 
setting of those flags.

It is perhaps safer to leave the flags separate. Other option is to block all 
signals that can interfere, possibly using sigaction() instead of signal(), 
but I am not sure of availability on all supported platforms.

Chetan




^ permalink raw reply	[flat|nested] 108+ messages in thread
* Re: Pretest next week
@ 2009-01-27  0:42 Stefan Monnier
  0 siblings, 0 replies; 108+ messages in thread
From: Stefan Monnier @ 2009-01-27  0:42 UTC (permalink / raw)
  To: Adrian Robert; +Cc: emacs-devel

> Yes, signal() IS called with SIGIO, input_available_signal(), and the latter
> is never called (according to an fprintf which works fine  running under X).
> I also tried calling signal() at various later  times, in case the handler
> gets replaced.

What happens if you do a "kill -IO <...>" from the shell?
Is your fprintf properly executed?  I.e. is it that the proicess doesn't
receive any IO signal or is it that those signals don't invoke your
signal handler?  Also, could it be that the signals get delivered to
another thread?


        Stefan




^ permalink raw reply	[flat|nested] 108+ messages in thread
* Re: Pretest next week
@ 2009-01-24 20:27 Stefan Monnier
  0 siblings, 0 replies; 108+ messages in thread
From: Stefan Monnier @ 2009-01-24 20:27 UTC (permalink / raw)
  To: Adrian Robert; +Cc: emacs-devel

> I tried using special-event-map, following the example of delete-
> frame, but I still get a "Wrong type argument: commandp, ns-echo-
> working-text"  message.

Adding (interactive) will fix that, of course.


        Stefan




^ permalink raw reply	[flat|nested] 108+ messages in thread
* Pretest next week
@ 2009-01-22  5:03 Chong Yidong
  2009-01-22  5:11 ` YAMAMOTO Mitsuharu
                   ` (2 more replies)
  0 siblings, 3 replies; 108+ messages in thread
From: Chong Yidong @ 2009-01-22  5:03 UTC (permalink / raw)
  To: emacs-devel

The legal stuff that we were waiting on has been sorted out, so, barring
unforseen circumstances, we will begin the pretest next week.

There is one more task that needs to be done---moving the pmail files to
replace rmail.  Could someone please take care of that?  The pmail files
are now in a correct state, so this just involves replacing `pmail' with
`rmail' everywhere in those files, and changing the file names.




^ permalink raw reply	[flat|nested] 108+ messages in thread

end of thread, other threads:[~2012-11-17  8:17 UTC | newest]

Thread overview: 108+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-05 17:15 Pretest next week Adrian Robert
2009-03-06  1:01 ` YAMAMOTO Mitsuharu
2009-03-07  0:48   ` YAMAMOTO Mitsuharu
2009-03-07 13:28     ` Adrian Robert
2009-03-08  1:24       ` YAMAMOTO Mitsuharu
2009-03-08  3:10       ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2012-11-17  8:17 Chong Yidong
2009-05-20 23:39 Chong Yidong
2009-05-23  4:45 ` Chong Yidong
2009-05-23 10:55   ` Lennart Borgman
2009-05-15  2:31 Chong Yidong
2009-01-29  3:39 Chetan Pandya
2009-01-27  0:42 Stefan Monnier
2009-01-24 20:27 Stefan Monnier
2009-01-22  5:03 Chong Yidong
2009-01-22  5:11 ` YAMAMOTO Mitsuharu
2009-01-22 13:49   ` Chong Yidong
2009-01-22 14:23     ` Adrian Robert
2009-01-22 14:37       ` Adrian Robert
2009-01-22 15:12         ` Juanma Barranquero
2009-01-22 19:33       ` Stefan Monnier
2009-01-24  8:43         ` Adrian Robert
2009-01-25 11:58           ` Adrian Robert
2009-01-23  0:03       ` YAMAMOTO Mitsuharu
2009-01-26 15:45       ` Adrian Robert
2009-01-26 22:07         ` Chong Yidong
2009-01-26 23:08           ` Adrian Robert
2009-01-27  2:10         ` Jason Rumney
2009-01-27 13:02           ` Adrian Robert
2009-01-28  4:22             ` Chong Yidong
2009-01-28  9:34               ` Jason Rumney
2009-01-28 12:19                 ` Adrian Robert
2009-01-28 14:08                   ` Stefan Monnier
2009-01-28 16:24                     ` Adrian Robert
2009-01-28 17:40                       ` Stefan Monnier
2009-01-28 19:25                         ` Adrian Robert
2009-01-29  2:11                           ` Stefan Monnier
2009-01-28 20:52                         ` Chong Yidong
2009-01-29  2:12                           ` Stefan Monnier
2009-01-22 14:44   ` Stefan Monnier
2009-01-23  0:16     ` YAMAMOTO Mitsuharu
2009-01-24  8:51       ` Adrian Robert
2009-01-26  4:46         ` YAMAMOTO Mitsuharu
2009-01-26 20:07           ` Chong Yidong
2009-01-26 23:24             ` YAMAMOTO Mitsuharu
2009-01-27 13:04               ` Adrian Robert
2009-01-28  0:16                 ` YAMAMOTO Mitsuharu
2009-01-26 22:36           ` Eli Zaretskii
2009-01-26 23:27             ` YAMAMOTO Mitsuharu
2009-01-27  3:28               ` Eli Zaretskii
2009-01-28  0:10                 ` YAMAMOTO Mitsuharu
2009-01-27 12:57               ` Adrian Robert
2009-01-29  0:58                 ` YAMAMOTO Mitsuharu
2009-01-24 11:17   ` Alex Ott
2009-01-22 10:56 ` Bastien
2009-01-22 17:24   ` Bastien
2009-01-22 20:59     ` Stefan Monnier
2009-01-22 21:41     ` Glenn Morris
2009-01-23 10:41       ` Bastien
2009-01-23 17:46         ` Glenn Morris
2009-01-25 18:54           ` Bastien
2009-01-25 20:01             ` David Kastrup
2009-01-25 21:28               ` Lennart Borgman
2009-01-26  8:38                 ` Frank Schmitt
2009-01-26 14:20               ` Stefan Monnier
2009-01-29 15:29 ` Chong Yidong
2009-01-30  0:51   ` YAMAMOTO Mitsuharu
2009-01-30  1:42     ` Chong Yidong
2009-01-30  1:46       ` YAMAMOTO Mitsuharu
2009-02-01  7:47         ` YAMAMOTO Mitsuharu
2009-02-01 14:34           ` Chong Yidong
2009-02-02  4:59             ` YAMAMOTO Mitsuharu
2009-02-03  1:42               ` Richard M Stallman
2009-02-03  1:56                 ` YAMAMOTO Mitsuharu
2009-02-04  7:04                   ` Richard M Stallman
2009-02-04  8:13                     ` YAMAMOTO Mitsuharu
2009-02-04 12:16                       ` Adrian Robert
2009-07-14  3:32             ` YAMAMOTO Mitsuharu
2009-07-14 18:40               ` Stefan Monnier
2009-07-15  2:22                 ` YAMAMOTO Mitsuharu
2009-07-15 10:40                 ` David Reitter
2009-07-15 14:33                   ` Chong Yidong
2009-02-01 22:17           ` Stefan Monnier
2009-02-03  0:53             ` YAMAMOTO Mitsuharu
2009-02-04 12:08               ` Adrian Robert
2009-02-05  0:08                 ` YAMAMOTO Mitsuharu
2009-02-05  5:40                 ` Richard M Stallman
2009-02-05 11:43                   ` YAMAMOTO Mitsuharu
2009-02-05 17:39                     ` Adrian Robert
2009-02-06  1:10                       ` YAMAMOTO Mitsuharu
2009-01-31  6:44       ` Richard M Stallman
2009-01-31  7:35         ` YAMAMOTO Mitsuharu
2009-03-05  0:56           ` YAMAMOTO Mitsuharu
2009-03-05  5:24             ` YAMAMOTO Mitsuharu
2009-01-30  9:44   ` Eli Zaretskii
2009-01-30  9:56     ` Tassilo Horn
2009-01-30 11:19       ` Kenichi Handa
2009-01-30 12:34         ` Tassilo Horn
2009-01-30 12:52           ` Kenichi Handa
2009-01-30 13:39             ` Tassilo Horn
2009-01-31  1:20               ` Kenichi Handa
2009-01-31 11:07                 ` Tassilo Horn
2009-01-30 11:14     ` Kenichi Handa
2009-01-30 11:20       ` Eli Zaretskii
2009-02-04  2:49       ` Kenichi Handa
2009-02-06 15:49         ` Eli Zaretskii
2009-02-10  0:44           ` Kenichi Handa
2009-01-30 17:43     ` Glenn Morris

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).