bpt/emacs.git
20 years agoImplemented suspending of emacsclient frames.
Karoly Lorentey [Sat, 28 Feb 2004 01:23:39 +0000 (01:23 +0000)]
Implemented suspending of emacsclient frames.

lib-src/emacsclient.c (quote_file_name): Renamed to quote_argument.
(unquote_argument, handle_sigcont, handle_sigtstp): New functions.
(out, in): New global variables for communicating with the Emacs process.
(init_signals): Set up handlers for SIGCONT, SIGTSTP and SIGTTOU.
(main): Changed out and in to global variables.  Prepend `-eval' or
'-file' to each argument.  Use fsync to force sending the strings to Emacs.
Removed obsolete -bad-version code.  Support the -suspend command.
Cleaned up newline handling.

lisp/frame.el (suspend-frame): New function.
Substitute key definition of suspend-emacs with suspend-frame.

lisp/server.el (server-log): Cosmetic change in log format.
(server-handle-delete-tty, server-handle-delete-frame): Added logging.
(server-handle-suspend-tty, server-quote-arg): New functions.
(server-start): Install server-handle-suspend-tty.
(server-process-filter): Reorganized source code for clarity.
Implemented -resume, -suspend and -ignore commands.

lisp/term/x-win.el (x-initialize-window-system): Don't change the
binding of C-z.

src/cm.c: Replaced TTY_INPUT, TTY_OUTPUT, TTY_TERMSCRIPT calls with
their macro expansion.
src/dispnew.c: Ditto.
src/frame.c: Ditto.
src/keyboard.c: Ditto.
src/sysdep.c: Ditto.

src/keyboard.c (tty_read_avail_input): Don't read if the terminal is
suspended.
src/sysdep.c (discard_tty_input, init_sys_modes, reset_sys_modes): Ditto.
src/term.c (tty_set_terminal_modes, tty_reset_terminal_modes): Ditto.

src/term.c (Vsuspend_tty_functions, Vresume_tty_functions): New hooks.
(syms_of_term): Defvar them.
(term_init): Don't allow opening a new frame on a suspended tty device.
(Fsuspend_tty, Fresume_tty): New functions.
(syms_of_term): Defsubr them.

src/termchar.c (struct tty_display_info): Update documentation of
input and output.
(TTY_INPUT, TTY_OUTPUT, TTY_TERMSCRIPT): Removed.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-105

20 years agoMake emacsclient refuse to create a frame inside an Emacs term buffer.
Karoly Lorentey [Fri, 27 Feb 2004 14:10:47 +0000 (14:10 +0000)]
Make emacsclient refuse to create a frame inside an Emacs term buffer.

lib-src/emacsclient.c (main): Exit with failure if the terminal type
is `eterm' (Emacs term buffer).

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-104

20 years agoREADME.multi-tty updates.
Karoly Lorentey [Fri, 27 Feb 2004 14:05:11 +0000 (14:05 +0000)]
README.multi-tty updates.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-103

20 years ago(Sigh.) Don't try to read more events than the buffer size.
Karoly Lorentey [Thu, 26 Feb 2004 00:52:10 +0000 (00:52 +0000)]
(Sigh.) Don't try to read more events than the buffer size.

src/xterm.c (XTread_socket): Don't try to read more events than
numchars.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-102

20 years agoMerged in changes from CVS HEAD
Karoly Lorentey [Thu, 26 Feb 2004 00:39:34 +0000 (00:39 +0000)]
Merged in changes from CVS HEAD

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-113
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-114
   Merge some minor redisplay bug-fixes from emacs--tiling--0

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-115
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--tiling--0--patch-9
   Remove bogus xassert

 * miles@gnu.org--gnu-2004/emacs--tiling--0--patch-10
   Avoid negative descents for images with ascent > height

 * miles@gnu.org--gnu-2004/emacs--tiling--0--patch-13
   Fix iterator-inconsistency bug in redisplay

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-101

20 years agoCheck for numchars > 0 in handle_one_xevent, not 1.
Karoly Lorentey [Thu, 26 Feb 2004 00:37:31 +0000 (00:37 +0000)]
Check for numchars > 0 in handle_one_xevent, not 1.

src/xterm.c (handle_one_xevent): Check for numchars > 0 in the
KeyPress case, not 1.
(XTread_socket): Revert previous change.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-100

20 years ago(handle_single_display_prop): Handle left-fringe and
Kim F. Storm [Wed, 25 Feb 2004 22:39:54 +0000 (22:39 +0000)]
(handle_single_display_prop): Handle left-fringe and
right-fringe similar to a display margin image.  Specifically,
the characters having the fringe prop are no longer shown, and
we use IT_IMAGE/next_element_from_image with image_id = -1 to
do this.  Set fringe bitmap face_id in it->face_id.
(produce_image_glyph): Handle image_id < 0 as "no image" case, but
still realize it->face (i.e. the fringe bitmap face).

20 years ago*** empty log message ***
Kim F. Storm [Wed, 25 Feb 2004 22:38:34 +0000 (22:38 +0000)]
*** empty log message ***

20 years agoRevision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-114
Miles Bader [Wed, 25 Feb 2004 12:54:16 +0000 (12:54 +0000)]
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-114

Merge some minor redisplay bug-fixes from emacs--tiling--0

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--tiling--0--patch-9
   Remove bogus xassert

 * miles@gnu.org--gnu-2004/emacs--tiling--0--patch-10
   Avoid negative descents for images with ascent > height

 * miles@gnu.org--gnu-2004/emacs--tiling--0--patch-13
   Fix iterator-inconsistency bug in redisplay

20 years agoRevert patch-93, that was the real culprit. Reapply patch-97.
Karoly Lorentey [Wed, 25 Feb 2004 03:29:37 +0000 (03:29 +0000)]
Revert patch-93, that was the real culprit.  Reapply patch-97.

src/keyboard.c (read_avail_input): Don't BLOCK_INPUT.

src/xterm.c (XTread_socket): Don't try to handle a new event if the
input buffer is full.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-99

20 years agoBack out previous change, it causes infinite recursion.
Karoly Lorentey [Wed, 25 Feb 2004 03:16:45 +0000 (03:16 +0000)]
Back out previous change, it causes infinite recursion.

src/xterm.c (XTread_socket): Back out previous change, it causes
infinite recursion.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-98

20 years agoDon't try to handle a new event if the input buffer is full.
Karoly Lorentey [Wed, 25 Feb 2004 02:57:36 +0000 (02:57 +0000)]
Don't try to handle a new event if the input buffer is full.

src/xterm.c (XTread_socket): Stop processing when numchars gets below 2.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-97

20 years agoAllow tty_read_avail_input to use the whole input buffer.
Karoly Lorentey [Wed, 25 Feb 2004 02:55:32 +0000 (02:55 +0000)]
Allow tty_read_avail_input to use the whole input buffer.

src/keyboard.c (tty_read_avail_input): Use a cbuf of size numchar, not numchar-1.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-96

20 years agoResolve CVS conflicts
Miles Bader [Wed, 25 Feb 2004 01:19:08 +0000 (01:19 +0000)]
Resolve CVS conflicts

20 years agoREADME updates.
Karoly Lorentey [Wed, 25 Feb 2004 00:53:40 +0000 (00:53 +0000)]
README updates.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-95

20 years agoABNF parser. Fix bug on productions like test = {"test"}* | ("tt" ["test"]). Reporte...
Vinicius Jose Latorre [Wed, 25 Feb 2004 00:07:33 +0000 (00:07 +0000)]
ABNF parser. Fix bug on productions like test = {"test"}* | ("tt" ["test"]).  Reported by Markus Dreyer.

20 years agoABNF parser (ebnf2ps)
Vinicius Jose Latorre [Tue, 24 Feb 2004 22:58:07 +0000 (22:58 +0000)]
ABNF parser (ebnf2ps)

20 years agoMerged in changes from CVS HEAD
Karoly Lorentey [Tue, 24 Feb 2004 22:48:10 +0000 (22:48 +0000)]
Merged in changes from CVS HEAD

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-108
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-109
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-110
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-111
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-112
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-94

20 years ago*** empty log message ***
Jason Rumney [Tue, 24 Feb 2004 21:36:21 +0000 (21:36 +0000)]
*** empty log message ***

20 years agoBlock more input during read_avail_input.
Karoly Lorentey [Tue, 24 Feb 2004 18:00:36 +0000 (18:00 +0000)]
Block more input during read_avail_input.

src/keyboard.c (read_avail_input): Added BLOCK_INPUT.
Return -1 when input is blocked or if we could not read input
and a display's input hook signalled an error.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-93

20 years ago(slurp_file, xbm_scan, xbm_load_image)
Jason Rumney [Tue, 24 Feb 2004 09:00:24 +0000 (09:00 +0000)]
(slurp_file, xbm_scan, xbm_load_image)
(xbm_read_bitmap_data): Use unsigned char for image data.

20 years ago*** empty log message ***
Luc Teirlinck [Tue, 24 Feb 2004 03:35:21 +0000 (03:35 +0000)]
*** empty log message ***

20 years ago(Finsert_abbrev_table_description): Doc fix.
Luc Teirlinck [Tue, 24 Feb 2004 03:32:29 +0000 (03:32 +0000)]
(Finsert_abbrev_table_description): Doc fix.

20 years ago(write-abbrev-file): Make argument optional. Doc fix.
Luc Teirlinck [Tue, 24 Feb 2004 03:25:33 +0000 (03:25 +0000)]
(write-abbrev-file): Make argument optional.  Doc fix.
(abbrev-prefix-mark): Doc fix.

20 years agoVarious corrections and clarifications in addition to the following:
Luc Teirlinck [Tue, 24 Feb 2004 03:18:45 +0000 (03:18 +0000)]
Various corrections and clarifications in addition to the following:
(Abbrev Tables): Delete add-abbrev (as suggested by RMS).

20 years ago(gud-watch): Load tooltip, if necessary.
Nick Roberts [Mon, 23 Feb 2004 00:44:04 +0000 (00:44 +0000)]
(gud-watch): Load tooltip, if necessary.
(gdb-var-create-handler): Force speedbar-update-flag to be non-nil.
(gdb-var-delete): Make interactive (really).
(gdb-edit-value): Make non-interactive.

20 years ago(Watch Expressions): Update.
Nick Roberts [Mon, 23 Feb 2004 00:43:09 +0000 (00:43 +0000)]
(Watch Expressions):  Update.

20 years ago(gud-install-speedbar-variables): Bind
Nick Roberts [Mon, 23 Feb 2004 00:42:31 +0000 (00:42 +0000)]
(gud-install-speedbar-variables): Bind
gdb-var-delete to "D".
(gud-speedbar-menu-items): Add gdb-var-delete and, indirectly,
gdb-edit-value.
(gud-speedbar-buttons): Remove gdb-var-delete from tag-line.
(gud-gdb-marker-filter): Add comment for annotations.

20 years ago*** empty log message ***
Nick Roberts [Mon, 23 Feb 2004 00:41:44 +0000 (00:41 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Glenn Morris [Mon, 23 Feb 2004 00:11:12 +0000 (00:11 +0000)]
*** empty log message ***

20 years agoMatthew Mundell <matt@mundell.ukfsn.org>
Glenn Morris [Mon, 23 Feb 2004 00:09:31 +0000 (00:09 +0000)]
Matthew Mundell <matt@mundell.ukfsn.org>
(fancy-diary-display): Don't rely on return value of
increment-calendar-month.

20 years ago(w32_draw_fringe_bitmap): Draw overlaid bitmaps
Jason Rumney [Sun, 22 Feb 2004 22:41:52 +0000 (22:41 +0000)]
(w32_draw_fringe_bitmap): Draw overlaid bitmaps
correctly over other bitmaps.

20 years ago*** empty log message ***
Jason Rumney [Sun, 22 Feb 2004 21:18:10 +0000 (21:18 +0000)]
*** empty log message ***

20 years ago(Documentation Tips): Fix typo.
Luc Teirlinck [Sun, 22 Feb 2004 16:20:09 +0000 (16:20 +0000)]
(Documentation Tips): Fix typo.

20 years agoMatthew Mundell <matt@mundell.ukfsn.org>
Glenn Morris [Sun, 22 Feb 2004 15:24:22 +0000 (15:24 +0000)]
Matthew Mundell  <matt@mundell.ukfsn.org>
(Holiday Customizing): Quote arg of holiday-sexp.

20 years ago*** empty log message ***
Glenn Morris [Sun, 22 Feb 2004 15:23:18 +0000 (15:23 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Luc Teirlinck [Sat, 21 Feb 2004 20:15:23 +0000 (20:15 +0000)]
*** empty log message ***

20 years agoVarious small changes in addition to the following:
Luc Teirlinck [Sat, 21 Feb 2004 20:08:12 +0000 (20:08 +0000)]
Various small changes in addition to the following:
(User-Level Deletion): Mention optional BACKWARD-ONLY argument to
delete-horizontal-space.
(Kill Functions, Yanking, Low-Level Kill Ring): clarify and correct
description of yank-handler text property at various places.

20 years ago(Window System Selections): Add anchor.
Luc Teirlinck [Sat, 21 Feb 2004 18:24:22 +0000 (18:24 +0000)]
(Window System Selections): Add anchor.

20 years ago(USAGE1): Split into two halves.
Eli Zaretskii [Sat, 21 Feb 2004 17:45:10 +0000 (17:45 +0000)]
(USAGE1): Split into two halves.
(USAGE2): Second half of the old USAGE1.
(USAGE3): Renamed from USAGE2.
(USAGE4): Renamed from USAGE3.

20 years ago(Syntax Table Functions): Clarify and correct descriptions of
Luc Teirlinck [Sat, 21 Feb 2004 16:45:20 +0000 (16:45 +0000)]
(Syntax Table Functions): Clarify and correct descriptions of
make-syntax-table and copy-syntax-table.
(Motion and Syntax): Clarify SYNTAXES argument to skip-syntax-forward.
(Parsing Expressions): Mention that the return value of parse-partial-sexp
is currently a list of ten rather than nine elements.
(Categories): Various corrections and clarifications.

20 years agoDocument recent changes in saveplace.el regarding skipping unreadable
Eli Zaretskii [Sat, 21 Feb 2004 14:17:30 +0000 (14:17 +0000)]
Document recent changes in saveplace.el regarding skipping unreadable
files.

20 years ago*** empty log message ***
Eli Zaretskii [Sat, 21 Feb 2004 14:09:01 +0000 (14:09 +0000)]
*** empty log message ***

20 years ago(save-place-forget-unreadable-files)
Eli Zaretskii [Sat, 21 Feb 2004 14:07:11 +0000 (14:07 +0000)]
(save-place-forget-unreadable-files)
(save-place-save-skipped, save-place-skip-check-regexp): New defcustoms.
(save-place-forget-unreadable-files): New function.
(save-place-alist-to-file): Use it to filter out files that are
no longer readable.

20 years ago(texinfo-insert-@item): Look for the current
Eli Zaretskii [Sat, 21 Feb 2004 13:51:34 +0000 (13:51 +0000)]
(texinfo-insert-@item): Look for the current
Texinfo environment, using the same method as in texinfo-insert-@end,
and insert a space rather than a newline if point in a `table' environment.

20 years agoRemove "tiny change" from Jari Aalto's entry for 2004-02-16.
Eli Zaretskii [Sat, 21 Feb 2004 13:43:32 +0000 (13:43 +0000)]
Remove "tiny change" from Jari Aalto's entry for 2004-02-16.

20 years ago(ffap-file-at-point): Try parent directories.
Eli Zaretskii [Sat, 21 Feb 2004 13:42:04 +0000 (13:42 +0000)]
(ffap-file-at-point): Try parent directories.

20 years ago(vcursor-modifiers): New defcustom.
Eli Zaretskii [Sat, 21 Feb 2004 13:37:46 +0000 (13:37 +0000)]
(vcursor-modifiers): New defcustom.
(vcursor-cs-binding): Use vcursor-modifiers instead of a hard-coded list.

20 years ago(animate-birthday-present): Accept other than `Sarah', too.
Eli Zaretskii [Sat, 21 Feb 2004 13:30:42 +0000 (13:30 +0000)]
(animate-birthday-present): Accept other than `Sarah', too.

20 years ago(USAGE1): Add --no-desktop. Move --display from USAGE2.
Eli Zaretskii [Sat, 21 Feb 2004 13:24:15 +0000 (13:24 +0000)]
(USAGE1): Add --no-desktop.  Move --display from USAGE2.
Fix --multibyte.  Move --help, --version to USAGE2.  Add alias
--file.  Fix -f, -l.  Sort options.  Untabify.
(USAGE2): Add -hb.  Fix --name, --title.  Sort options.  Untabify.

20 years agoRemove table of command line arguments from the Commentary section.
Eli Zaretskii [Sat, 21 Feb 2004 13:22:31 +0000 (13:22 +0000)]
Remove table of command line arguments from the Commentary section.

20 years agoFix the date of last change.
Eli Zaretskii [Sat, 21 Feb 2004 13:20:16 +0000 (13:20 +0000)]
Fix the date of last change.

20 years ago(Action Arguments): Add alias --find-file. Add
Eli Zaretskii [Sat, 21 Feb 2004 13:16:02 +0000 (13:16 +0000)]
(Action Arguments): Add alias --find-file.  Add
--directory, --help, --version.  Move text about command-line-args
to Command Arguments.
(Initial Options): Remove alias -batch.  Add @cindex for --script.
Fix @cindex for -q.  Add --no-desktop.  Add alias --no-multibyte,
--no-unibyte.
(Window Size X): Join -g and --geometry.  Add @cindex.
(Borders X): Fix @cindex for -ib.  Add @cindex for -bw.
(Title X): Remove alias -title.
(Icons X): Remove alias -iconic.
(Misc X): New node.

20 years agoFix a crash in emacsclient when DISPLAY is unset.
Karoly Lorentey [Fri, 20 Feb 2004 23:54:53 +0000 (23:54 +0000)]
Fix a crash in emacsclient when DISPLAY is unset.

lib-src/emacsclient.c (decode_options): Don't call strlen on a null
pointer. Reported by Ami Fishman.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-92

20 years agoFix typo in delete_display_hook documentation.
Karoly Lorentey [Fri, 20 Feb 2004 17:53:00 +0000 (17:53 +0000)]
Fix typo in delete_display_hook documentation.

src/termhooks.h (delete_display_hook): Fix typo in documentation.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-91

20 years agoDon't delete a tty if it's the last device with frames.
Karoly Lorentey [Fri, 20 Feb 2004 17:51:35 +0000 (17:51 +0000)]
Don't delete a tty if it's the last device with frames.

src/term.c (delete_tty): Signal an error if this is the last display
with live frames.  Reported by Dan Nicolaescu.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-90

20 years agoDon't read too many characters from the tty.
Karoly Lorentey [Fri, 20 Feb 2004 17:48:48 +0000 (17:48 +0000)]
Don't read too many characters from the tty.

src/keyboard.c (tty_read_avail_input): Don't read more characters than
numchars. (Prevents a crash if there are many characters in the buffer.)

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-89

20 years agoMerged in changes from CVS HEAD
Karoly Lorentey [Fri, 20 Feb 2004 15:42:55 +0000 (15:42 +0000)]
Merged in changes from CVS HEAD

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-107
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-88

20 years agoMerged in changes from CVS HEAD
Karoly Lorentey [Fri, 20 Feb 2004 15:41:31 +0000 (15:41 +0000)]
Merged in changes from CVS HEAD

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-104
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-105
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-106
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-87

20 years ago(eshell-modifier-alist): Changed the "eval again" modifier from 'e' to
John Wiegley [Fri, 20 Feb 2004 12:32:19 +0000 (12:32 +0000)]
(eshell-modifier-alist): Changed the "eval again" modifier from 'e' to
'E', since 'e' is also used by the "file extension" modifier.

20 years ago*** empty log message ***
John Wiegley [Fri, 20 Feb 2004 12:31:57 +0000 (12:31 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Luc Teirlinck [Fri, 20 Feb 2004 03:49:52 +0000 (03:49 +0000)]
*** empty log message ***

20 years ago(describe-categories): Doc fix.
Luc Teirlinck [Fri, 20 Feb 2004 03:48:32 +0000 (03:48 +0000)]
(describe-categories): Doc fix.

20 years ago(Fdefine_category, Fcategory_docstring)
Luc Teirlinck [Fri, 20 Feb 2004 03:40:19 +0000 (03:40 +0000)]
(Fdefine_category, Fcategory_docstring)
(Fget_unused_category, Fset_category_table)
(Fcategory_set_mnemonics): Doc fixes.

20 years agoREADME updates.
Karoly Lorentey [Fri, 20 Feb 2004 03:02:04 +0000 (03:02 +0000)]
README updates.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-86

20 years ago* ediff-util.el (ediff-compute-custom-diffs-maybe): Avoid creating
Michael Kifer [Fri, 20 Feb 2004 02:41:02 +0000 (02:41 +0000)]
* ediff-util.el (ediff-compute-custom-diffs-maybe): Avoid creating
temporary file for buffer already visiting one.  This change makes
output likely to be directly usable by patch program.
Suggested by Adrian Aichner  <adrian@xemacs.org>

20 years agoChanged emacsclient to open new frames by default.
Karoly Lorentey [Fri, 20 Feb 2004 01:46:26 +0000 (01:46 +0000)]
Changed emacsclient to open new frames by default.

lib-src/emacsclient.c (decode_options): Handle the case when $DISPLAY
is an empty string.  Set window_system or tty to one by default,
depending on if there is a valid display.
(longopts, decode_options, print_help_and_exit): Removed -w, added -c.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-85

20 years agoVerify the version of Emacsclient.
Karoly Lorentey [Fri, 20 Feb 2004 01:22:10 +0000 (01:22 +0000)]
Verify the version of Emacsclient.

lib-src/emacsclient.c (main): Send the version number of emacsclient
to the Emacs process, and exit with error if Emacs does not accept it.

lisp/server.el (server-with-errors-reported): Removed.
(server-process-filter): Cleaned up error handling.
Compare the version of emacsclient with emacs-version;
signal an error if they do not match.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-84

20 years ago(gdb-use-colon-colon-notation): Set default to nil for
Nick Roberts [Fri, 20 Feb 2004 01:14:33 +0000 (01:14 +0000)]
(gdb-use-colon-colon-notation): Set default to nil for
case of variables defined in compound statements.
(gdb-setup-windows, gdb-source-info, gdb-source-info): Simplify
constructions using switch-to-buffer.

20 years ago*** empty log message ***
Nick Roberts [Fri, 20 Feb 2004 01:13:55 +0000 (01:13 +0000)]
*** empty log message ***

20 years agoAdded -w option to emacsclient for opening a new X frame.
Karoly Lorentey [Thu, 19 Feb 2004 23:55:51 +0000 (23:55 +0000)]
Added -w option to emacsclient for opening a new X frame.

lib-src/emacsclient.c (window_system): New variable.
(frame): Renamed to tty for consistency with the option name.
(longopts, print_help_and_exit): Added -w option. (Suggested by Ami
Fischman <ami at fischman dot org>.
(decode_options): Initialize display to $DISPLAY.  Handle -w option.
(main): Implement the -w option.  Changed to a more elaborate protocol
between Emacs and emacsclient, in preparation to suspend support.

lisp/server.el (server-frames): New variable.
(server-handle-delete-frame): New function.
(server-start): Add it to delete-frame-functions.
(server-select-display): Don't make the new frame invisible.
(server-with-errors-reported): New macro for brevity.
(server-process-filter): Implement the "-window-system" command.
Use server-with-errors-reported.  Fixed regexp for +line:column syntax.
Use the new protocol.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-83

20 years agoFix whitespace.
Kim F. Storm [Thu, 19 Feb 2004 23:26:06 +0000 (23:26 +0000)]
Fix whitespace.

20 years agoUndo 2004-02-16 and 2004-02-17 changes.
Kim F. Storm [Thu, 19 Feb 2004 23:21:51 +0000 (23:21 +0000)]
Undo 2004-02-16 and 2004-02-17 changes.
The following changes are relative to the 2004-01-21 revision.
(NREAD_INPUT_EVENTS): Define as max number of input events to read
in one call to read_socket_hook.  Value is 8.
(read_avail_input): Separate and rework handling of read_socket_hook
and non-read_socket_hook cases.  Use smaller input_event buffer
in read_socket_hook case, and repeat if full buffer is read.  Use
new local variable 'discard' to skip input after C-g.
In non-read_socket_hook case, just use a single input_event, and
call kbd_buffer_store_event on the fly for each character.

20 years ago*** empty log message ***
Kim F. Storm [Thu, 19 Feb 2004 23:21:23 +0000 (23:21 +0000)]
*** empty log message ***

20 years ago(union Lisp_Object): Give a more precise type for `type'.
Stefan Monnier [Thu, 19 Feb 2004 20:25:17 +0000 (20:25 +0000)]
(union Lisp_Object): Give a more precise type for `type'.
Remove unused `gu' alternative.

20 years agoFix typo.
Simon Josefsson [Thu, 19 Feb 2004 19:36:36 +0000 (19:36 +0000)]
Fix typo.
(morse-code): Add @.

20 years agoMerged in changes from CVS HEAD
Karoly Lorentey [Thu, 19 Feb 2004 13:25:32 +0000 (13:25 +0000)]
Merged in changes from CVS HEAD

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-103
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-82

20 years ago.
Andreas Schwab [Thu, 19 Feb 2004 11:12:36 +0000 (11:12 +0000)]
.

20 years ago(Fdefine_fringe_bitmap): Use && instead of & to avoid
Andreas Schwab [Thu, 19 Feb 2004 11:11:39 +0000 (11:11 +0000)]
(Fdefine_fringe_bitmap): Use && instead of & to avoid
warning.

20 years agoFix list-colors-display and other functions on a termcap frame
Karoly Lorentey [Thu, 19 Feb 2004 02:27:31 +0000 (02:27 +0000)]
Fix list-colors-display and other functions on a termcap frame

src/term.c (get_tty_display): Fall back to the current device if
display is nil.  (Reported by Dan Nicolaescu <dann at ics dot uci dot edu>.)

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-81

20 years agoDon't try to init X drag and drop on a termcap frame.
Karoly Lorentey [Thu, 19 Feb 2004 02:10:05 +0000 (02:10 +0000)]
Don't try to init X drag and drop on a termcap frame.

lisp/x-dnd.el (x-dnd-init-frame): Don't do anything if the frame is
not an X frame.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-80

20 years agoAdded newly loaded stuff in loadup.el to src/Makefile.in.
Karoly Lorentey [Thu, 19 Feb 2004 02:06:18 +0000 (02:06 +0000)]
Added newly loaded stuff in loadup.el to src/Makefile.in.

src/Makefile.in (SOME_MACHINE_LISP): Added X-related libraries that
were added to loadup.el.

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-79

20 years ago(mark-diary-entries): Use assoc-string instead of assoc-ignore-case.
Glenn Morris [Thu, 19 Feb 2004 01:20:03 +0000 (01:20 +0000)]
(mark-diary-entries): Use assoc-string instead of assoc-ignore-case.

20 years ago(calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date): Use
Glenn Morris [Thu, 19 Feb 2004 01:19:05 +0000 (01:19 +0000)]
(calendar-read-mayan-haab-date, calendar-read-mayan-tzolkin-date): Use
assoc-string instead of assoc-ignore-case.

20 years ago(calendar-goto-julian-date): Use assoc-string instead of
Glenn Morris [Thu, 19 Feb 2004 01:18:23 +0000 (01:18 +0000)]
(calendar-goto-julian-date): Use assoc-string instead of
assoc-ignore-case.

20 years ago(calendar-goto-islamic-date, mark-islamic-diary-entries): Use
Glenn Morris [Thu, 19 Feb 2004 01:17:44 +0000 (01:17 +0000)]
(calendar-goto-islamic-date, mark-islamic-diary-entries): Use
assoc-string instead of assoc-ignore-case.

20 years ago(calendar-goto-hebrew-date, mark-hebrew-diary-entries)
Glenn Morris [Thu, 19 Feb 2004 01:16:53 +0000 (01:16 +0000)]
(calendar-goto-hebrew-date, mark-hebrew-diary-entries)
(list-yahrzeit-dates): Use assoc-string instead of assoc-ignore-case.

20 years ago(calendar-goto-french-date): Use assoc-string instead of
Glenn Morris [Thu, 19 Feb 2004 01:15:40 +0000 (01:15 +0000)]
(calendar-goto-french-date): Use assoc-string instead of
assoc-ignore-case.

20 years ago(coptic-prompt-for-date): Use assoc-string instead of assoc-ignore-case.
Glenn Morris [Thu, 19 Feb 2004 01:15:03 +0000 (01:15 +0000)]
(coptic-prompt-for-date): Use assoc-string instead of assoc-ignore-case.

20 years ago(calendar-holidays): Doc fix.
Glenn Morris [Thu, 19 Feb 2004 01:13:56 +0000 (01:13 +0000)]
(calendar-holidays): Doc fix.
(calendar-read-date): Use assoc-string rather than assoc-ignore-case.

20 years ago(appt-display-format): Change default to'ignore, for backwards compatability.
Glenn Morris [Thu, 19 Feb 2004 01:12:21 +0000 (01:12 +0000)]
(appt-display-format): Change default to'ignore, for backwards compatability.
(appt-display-message): If appt-display-format is 'ignore, respect old
vars appt-msg-window and appt-visible.
(appt-activate): Don't depend on return value of cancel-timer.

20 years ago*** empty log message ***
Glenn Morris [Thu, 19 Feb 2004 01:11:26 +0000 (01:11 +0000)]
*** empty log message ***

20 years ago(get_window_cursor_type, display_and_set_cursor): Fix last change.
Kim F. Storm [Wed, 18 Feb 2004 21:01:50 +0000 (21:01 +0000)]
(get_window_cursor_type, display_and_set_cursor): Fix last change.

20 years ago*** empty log message ***
Kim F. Storm [Wed, 18 Feb 2004 21:00:59 +0000 (21:00 +0000)]
*** empty log message ***

20 years ago(executable-command-find-posix-p): Fix choice of the directory.
Markus Rost [Wed, 18 Feb 2004 20:48:26 +0000 (20:48 +0000)]
(executable-command-find-posix-p):  Fix choice of the directory.

20 years agoMerged in changes from CVS HEAD
Karoly Lorentey [Wed, 18 Feb 2004 17:10:32 +0000 (17:10 +0000)]
Merged in changes from CVS HEAD

Patches applied:

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-98
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-99
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-100
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-101
   Update from CVS

 * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-102
   Update from CVS

git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-78

20 years ago(Marker Insertion Types): Minor change.
Luc Teirlinck [Wed, 18 Feb 2004 05:02:30 +0000 (05:02 +0000)]
(Marker Insertion Types): Minor change.

20 years ago(Standard Buffer-Local Variables): Fix xref.
Luc Teirlinck [Wed, 18 Feb 2004 04:56:00 +0000 (04:56 +0000)]
(Standard Buffer-Local Variables): Fix xref.

20 years ago(Using Interactive): Delete pxref to top of same node.
Luc Teirlinck [Wed, 18 Feb 2004 04:49:52 +0000 (04:49 +0000)]
(Using Interactive): Delete pxref to top of same node.
(Interactive Codes): Fix pxref for default-directory.

20 years ago(Related Topics): Fix xrefs.
Luc Teirlinck [Wed, 18 Feb 2004 04:40:53 +0000 (04:40 +0000)]
(Related Topics): Fix xrefs.