bpt/emacs.git
20 years agoImplemented multiple tty support.
Karoly Lorentey [Thu, 25 Dec 2003 06:59:31 +0000 (06:59 +0000)]
Implemented multiple tty support.

README.multi-tty: New file.

src/termchar.h (struct terminal): Renamed to struct tty_output.  Added name, type,
input, output, termscript, old_tty, term_initted, old_tty_valid,
background_pixel, foreground_pixel, next fields.
(TERMINAL_*): Renamed to TTY_* for brevity.
(CURRENT_TERMINAL): Renamed to CURTTY for brevity.
(tty_list): New variable.
(TERMINAL_PTR): Removed.
(FRAME_TTY): New function.
(TTY_NAME, TTY_TYPE): New macros.

src/term.c (current_terminal): Removed.  (_current_terminal): Removed.  (tty_list):
New variable.  (OUTPUT, OUTPUT1, OUTPUTL, OUTPUT_IF, OUTPUT1_IF): Added tty
parameter.  (set_terminal_modes): Added tty parameter.  (reset_terminal_modes):
Added tty parameter.  (cursor_to, raw_cursor_to): Updated cmgoto() calls.
(clear_end_of_line, write_glyphs): Add indirection to terminal output, updated
cmcheckmagic() calls.  (get_named_tty): New function.  (term_dummy_init): New
function.  (term_init): Added name parameter, added tty_output return value.
Changed algorithm to update tty_list.  Call init_sys_modes() to set up tty
mode on the newly opened terminal device.
(get_current_tty): New function, intended for debugging.

src/termhooks.h (termscript): Removed.

src/w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Removed redundant
definition.
src/macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Ditto.

src/window.c (init_window_once): Call make_terminal_frame with two zero parameters.

src/cm.h (emacs_tputs): New macro to set current_tty, and then call tputs().
(current_tty): New variable, for cmputc().
(cmcheckmagic, cmputc, cmgoto): Added prototypes.

src/cm.c (current_tty): New variable, for cmputc().
(cmputc): Use it.
(cmcheckmagic): Added tty parameter, look up terminal streams there.
(calccost): Added tty parameter.  Use emacs_tputs() instead of tputs().
(cmgoto): Added tty parameter.  Pass it on to calccost().  Use emacs_tputs()
instead of tputs().

src/dispextern.h (set_terminal_modes, reset_terminal_modes): Added tty parameter.
(term_init): Added name parameter (the filename of the terminal device). Added
return value (struct tty_output).

src/dispnew.c: Replace CURTTY() with local variables throughout the file (where applicable).
(termscript): Moved to struct tty_output.
(terminal_type): Removed.

src/emacs.c (main): Don't call init_sys_modes(), the new term_init() already does that
during init_display().
(shut_down_emacs): Call reset_all_sys_modes() instead of reset_sys_modes().

src/frame.c (Qtty, Qtty_type): New variables.
(syms_of_frame): Initialize them.
(tty_display): Removed.
(make_terminal_frame): New parameters (tty filename and type).
Initialize output_data.tty field instead of output_data.x.  Use term_init() to
find the right tty_output.  (Use term_dummy_init() during bootstrap.)
(Fmake_terminal_frame): Get device filename and type from frame parameters.

src/frame.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Do the right thing
if the frame is a tty.
(struct frame): New member in output_data: tty.
(make_terminal_frame): Updated of prototype.

src/keyboard.c (Fset_input_mode): Call reset_all_sys_modes(), not
reset_sys_modes().  Ditto with init_sys_modes().

src/lisp.h (tty_output): Added forward declaration.
(init_sys_modes, reset_sys_modes): Updated prototype.
(init_all_sys_modes, reset_all_sys_modes): New prototypes.

src/scroll.c: Replace CURTTY() with local variables throughout the file (where applicable).

src/sysdep.c (old_tty, term_initted, old_tty_valid): Moved to struct tty_output.(
(init_all_sys_modes): New function.
(init_sys_modes): Added tty_output parameter.  Use it.
(reset_all_sys_modes): New function.
(reset_sys_modes): Added tty_output parameter.  Use it.

src/Makefile.in: Update dependencies.

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

20 years agoAdd a level of indirection to terminal characteristics.
Karoly Lorentey [Wed, 24 Dec 2003 18:55:24 +0000 (18:55 +0000)]
Add a level of indirection to terminal characteristics.

* src/termchar.h (struct terminal): New struct.
(must_write_spaces, min_padding_speed, line_ins_del_ok)
(char_ins_del_ok, scroll_region_ok, scroll_region_cost)
(memory_below_frame, fast_clear_end_of_line): Moved to struct
terminal.
(current_terminal): New variable.
(CURRENT_TERMINAL, TERMINAL_*): New accessor macros.
(min_padding_speed, dont_calculate_costs): Commented out (unused).

* src/term.c (_current_terminal): New variable.  Will be removed when
true multi-tty support is implemented.

* src/termopts.h (no_redraw_on_reenter): Moved here.

* src/term.c (set_terminal_window, ins_del_lines, calculate_costs)
(term_init): Use the accessor macros for terminal characteristics.
* src/dispnew.c (line_hash_code, line_draw_cost)
(direct_output_for_insert, update_frame_1, scrolling)
(update_frame_line): Ditto.
* src/macterm.c (mac_initialize): Ditto.
* src/msdos.c (internal_terminal_init): Ditto.
* src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
(scrolling_1, scroll_cost): Ditto.
* src/sysdep.c (hft_init): Ditto.
* src/w32term.c (w32_initialize): Ditto.
* src/xdisp.c (try_window_id): Ditto.
* src/xterm.c (x_initialize): Ditto.

* etc/TODO: Add pointer to my tla archive.

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

20 years agotag of miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137
Karoly Lorentey [Wed, 24 Dec 2003 16:09:13 +0000 (16:09 +0000)]
tag of miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-137

(automatically generated log message)

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

20 years ago2003-11-30 Per Abrahamsen <abraham@dina.kvl.dk>
Per Abrahamsen [Tue, 2 Dec 2003 15:01:52 +0000 (15:01 +0000)]
2003-11-30  Per Abrahamsen  <abraham@dina.kvl.dk>

* cus-edit.el (custom-add-parent-links): Add documentation links
for parent, if the item has none of its own.

20 years ago*** empty log message ***
Kenichi Handa [Mon, 1 Dec 2003 13:06:41 +0000 (13:06 +0000)]
*** empty log message ***

20 years ago(syms_of_composite): Don't make the compostion hash table week.
Kenichi Handa [Mon, 1 Dec 2003 12:33:13 +0000 (12:33 +0000)]
(syms_of_composite): Don't make the compostion hash table week.

20 years ago*** empty log message ***
Richard M. Stallman [Mon, 1 Dec 2003 05:27:15 +0000 (05:27 +0000)]
*** empty log message ***

20 years ago(Text Comparison): Correctly describe when two strings are `equal'.
Luc Teirlinck [Mon, 1 Dec 2003 04:09:00 +0000 (04:09 +0000)]
(Text Comparison): Correctly describe when two strings are `equal'.
Combine and clarify descriptions of `assoc-ignore-case' and
`assoc-ignore-representation'.

20 years ago(Non-ASCII in Strings): Clarify description of when a string is
Luc Teirlinck [Mon, 1 Dec 2003 03:57:00 +0000 (03:57 +0000)]
(Non-ASCII in Strings): Clarify description of when a string is
unibyte or multibyte.
(Bool-Vector Type): Update examples.
(Equality Predicates): Correctly describe when two strings are `equal'.

20 years ago*** empty log message ***
Luc Teirlinck [Mon, 1 Dec 2003 02:29:01 +0000 (02:29 +0000)]
*** empty log message ***

20 years ago(dired-do-query-replace-regexp): Report files visited read-only.
Richard M. Stallman [Mon, 1 Dec 2003 01:56:19 +0000 (01:56 +0000)]
(dired-do-query-replace-regexp): Report files visited read-only.

(dired-compare-directories): New command.
(dired-file-set-difference, dired-files-attributes): New functions.

20 years agoRebuild.
Andreas Schwab [Mon, 1 Dec 2003 00:45:50 +0000 (00:45 +0000)]
Rebuild.

20 years ago(powerpc-apple-darwin*): Use ${CC-cc} instead of
Andreas Schwab [Mon, 1 Dec 2003 00:45:10 +0000 (00:45 +0000)]
(powerpc-apple-darwin*): Use ${CC-cc} instead of
hardcoding gcc.

20 years agoRebuild.
Andreas Schwab [Mon, 1 Dec 2003 00:37:56 +0000 (00:37 +0000)]
Rebuild.

20 years ago(powerpc-apple-darwin*): Use ${CC} instead of
Andreas Schwab [Mon, 1 Dec 2003 00:36:50 +0000 (00:36 +0000)]
(powerpc-apple-darwin*): Use ${CC} instead of
hardcoding gcc.

20 years agoAdd arch taglines
Miles Bader [Sun, 30 Nov 2003 22:39:46 +0000 (22:39 +0000)]
Add arch taglines

20 years ago2003-11-30 Kai Grossjohann <kai.grossjohann@gmx.net>
Kai Großjohann [Sun, 30 Nov 2003 18:15:58 +0000 (18:15 +0000)]
2003-11-30  Kai Grossjohann  <kai.grossjohann@gmx.net>
Tramp version 2.0.38 released.

* tramp.texi (Remote shell setup): Warn of environment variables
FRUMPLE if user frumple exists.  Suggested by Sven Gabriel
<sven.gabriel@imk.fzk.de>.
(Configuration): Tramp now chooses base64/uuencode
automatically.  Update wording accordingly.
(Top): More description for the `Default Method' menu entry.
(Default Method): Use @code, not @var, for Lisp variables.
(Default Method): New subsection `Which method is the right one
for me?'  Suggested by Christian Kirsch.
(Configuration): Pointer to new subsection added.
(Default Method): Too many "use" in one sentence.
Rephrase.  Reported by Christian Kirsch.
(Filename Syntax): Old `su' example is probably a left-over from
the sm/su method naming.  Replace with `ssh', instead.
(External transfer methods, Auto-save and Backup):
Typo fixes.

2003-11-02  Michael Albinus  <Michael.Albinus@alcatel.de>

* tramp.texi (all): Harmonize all occurences of @tramp{}.
(Top): Mention japanese manual only if flag `jamanual' is set.
Insert section `Japanese manual' in menu.

20 years ago(tramp-chunksize): Extend docstring. Suggested by
Kai Großjohann [Sun, 30 Nov 2003 18:15:22 +0000 (18:15 +0000)]
(tramp-chunksize): Extend docstring.  Suggested by
Charles Curley <charlescurley@charlescurley.com>.
(tramp-multi-connection-function-alist): Add ssht entry which adds
"-e none -t -t" to the list of ssh args.  Suggested by Adrian
Aichner.
(tramp-get-method-parameter): New function to retrieve a method
parameter.  This allows for omission of method parameters.
Callers adjusted.

20 years ago*** empty log message ***
Luc Teirlinck [Sun, 30 Nov 2003 17:51:56 +0000 (17:51 +0000)]
*** empty log message ***

20 years ago(help-map): Bind `display-local-help' to `C-h .'.
Luc Teirlinck [Sun, 30 Nov 2003 17:50:54 +0000 (17:50 +0000)]
(help-map): Bind `display-local-help' to `C-h .'.
(help-for-help): Add `C-h .' to the listed Help options.
Remove trailing whitespace.

20 years agoNew file.
Luc Teirlinck [Sun, 30 Nov 2003 17:32:54 +0000 (17:32 +0000)]
New file.

20 years agoAdd EXFUN for Fget_char_property_and_overlay.
Luc Teirlinck [Sun, 30 Nov 2003 17:12:40 +0000 (17:12 +0000)]
Add EXFUN for Fget_char_property_and_overlay.

20 years ago(Fget_char_property_and_overlay): New function.
Luc Teirlinck [Sun, 30 Nov 2003 17:08:28 +0000 (17:08 +0000)]
(Fget_char_property_and_overlay): New function.
(syms_of_textprop): Defsubr it.

20 years agotestcover.el: Changes to 1value and noreturn
Jonathan Yavner [Sun, 30 Nov 2003 07:33:32 +0000 (07:33 +0000)]
testcover.el: Changes to 1value and noreturn

20 years agoAdd edebug specs for macros `1value' and `noreturn'.
Jonathan Yavner [Sun, 30 Nov 2003 06:58:00 +0000 (06:58 +0000)]
Add edebug specs for macros `1value' and `noreturn'.

20 years agoAdd macros `1value' and `noreturn'.
Jonathan Yavner [Sun, 30 Nov 2003 06:56:59 +0000 (06:56 +0000)]
Add macros `1value' and `noreturn'.

20 years agoEnsure that forms marked with `1value' actually always return the same value.
Jonathan Yavner [Sun, 30 Nov 2003 06:56:28 +0000 (06:56 +0000)]
Ensure that forms marked with `1value' actually always return the same value.

20 years ago(Building Lists): `append' no longer accepts integer arguments.
Luc Teirlinck [Sun, 30 Nov 2003 02:52:12 +0000 (02:52 +0000)]
(Building Lists): `append' no longer accepts integer arguments.
Update the description of `number-sequence' to reflect recent changes.
(Sets And Lists): Describe `member-ignore-case' after `member'.

20 years ago(gud-watch, gdb-var-create-handler)
Nick Roberts [Sat, 29 Nov 2003 15:51:24 +0000 (15:51 +0000)]
(gud-watch, gdb-var-create-handler)
(gdb-var-list-children, gdb-var-list-children-handler)
(gdb-var-update-handler, gdb-var-delete): Add server prefix to the
gdb commands that use mi to keep them out of the command history.

20 years ago*** empty log message ***
Nick Roberts [Sat, 29 Nov 2003 15:50:03 +0000 (15:50 +0000)]
*** empty log message ***

20 years agoNEWS and documentation for use-file-dialog.
Jan Djärv [Sat, 29 Nov 2003 11:36:55 +0000 (11:36 +0000)]
NEWS and documentation for use-file-dialog.

20 years ago* dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM
Jan Djärv [Sat, 29 Nov 2003 11:10:07 +0000 (11:10 +0000)]
* dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM
  to compile on terminal configuration.

20 years agoAdd variable use-file-dialog to control use of file dialogs.
Jan Djärv [Sat, 29 Nov 2003 10:44:36 +0000 (10:44 +0000)]
Add variable use-file-dialog to control use of file dialogs.

20 years ago(Qcursor_type, Qbar, Qhbar): Declare extern.
Kim F. Storm [Fri, 28 Nov 2003 23:07:13 +0000 (23:07 +0000)]
(Qcursor_type, Qbar, Qhbar): Declare extern.
(syms_of_msdos): Don't intern and staticpro them.

20 years ago(make-mms-derivative-root-dir): Update.
Thien-Thi Nguyen [Fri, 28 Nov 2003 08:59:09 +0000 (08:59 +0000)]
(make-mms-derivative-root-dir): Update.
(make-mms-derivative): Avoid unixisms for tree membership
validation and buffer naming: use `file-relative-name'.

20 years ago(latex-mode): `tex-trailer' is not a regexp.
Stefan Monnier [Thu, 27 Nov 2003 23:05:42 +0000 (23:05 +0000)]
(latex-mode): `tex-trailer' is not a regexp.

20 years agoposn-object and posn-object-x-y.
Kim F. Storm [Thu, 27 Nov 2003 21:59:16 +0000 (21:59 +0000)]
posn-object and posn-object-x-y.

20 years ago(Click Events): Click object may be an images.
Kim F. Storm [Thu, 27 Nov 2003 21:54:19 +0000 (21:54 +0000)]
(Click Events): Click object may be an images.
Describe (dx . dy) element of click positions.
(Accessing Events): Remove duplicate posn-timestamp.
New functions posn-object and posn-object-x-y.

20 years ago*** empty log message ***
Kim F. Storm [Thu, 27 Nov 2003 21:53:51 +0000 (21:53 +0000)]
*** empty log message ***

20 years ago(posn-object-x-y): New defun.
Kim F. Storm [Thu, 27 Nov 2003 21:28:01 +0000 (21:28 +0000)]
(posn-object-x-y): New defun.

20 years ago(Vdisplay_pixels_per_inch): New variable.
Kim F. Storm [Thu, 27 Nov 2003 21:17:23 +0000 (21:17 +0000)]
(Vdisplay_pixels_per_inch): New variable.
(Vshow_text_cursor_in_void): New variable.
(glyph_to_pixel_coords): Don't use negative hpos.
(x_y_to_hpos_vpos): Fix for partially visible first glyph.
(append_stretch_glyph): Change ascent arg to be actual value
in pixels rather than ratio to height. Callers changed.
(calc_pixel_width_or_height): New aux function, implementing
pixel based artihmetic for glyph widths and heights.
(produce_stretch_glyph): Use calc_pixel_width_or_height for
:width, :height, :align-to, and :ascent, thus allowing these to
be specified in pixels as well as multiples of characters.
Don't produce stretch glyphs with zero width or height.
(get_specified_cursor_type): Declare static.
(get_window_cursor_type): Declare static.  Add glyph arg to be
able to know when cursor is on an image; always substitute
hollow-box cursor for filled-box cursor on images, to avoid
negative images and flicker when blinking the cursor.
(display_and_set_cursor): Pass glyph to get_window_cursor_type.
(note_mode_line_or_margin_highlight): Use non-text cursor rather
than vertical scroll-bar cursor in display margins.
(note_mouse_highlight): Use non-text cursor rather than text
cursor in fringes and over images in the text area.
Use non-text cursor when mouse pointer is outside editable text,
i.e. in the void after end-of-line or end-of-buffer; this was
already done for W32, but is now standard for all systems --
user can toggle show-text-cursor-in-void to get old behaviour.
(syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and
Vdisplay_pixels_per_inch.

20 years ago(EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines.
Kim F. Storm [Thu, 27 Nov 2003 21:16:36 +0000 (21:16 +0000)]
(EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines.

20 years ago(make_lispy_position): Add x and y coordinates
Kim F. Storm [Thu, 27 Nov 2003 21:16:26 +0000 (21:16 +0000)]
(make_lispy_position): Add x and y coordinates
relative to the current glyph as 7th element of position.
If glyph is an image, return it in the object element.
(read_key_sequence): Skip checks for keymap property in cases
where POSN_STRING is not a string (e.g. an image).

20 years ago(get_specified_cursor_type, get_window_cursor_type):
Kim F. Storm [Thu, 27 Nov 2003 21:16:04 +0000 (21:16 +0000)]
(get_specified_cursor_type, get_window_cursor_type):
Remove prototypes.

20 years ago(buffer_posn_from_coords): Calculate and return pixel
Kim F. Storm [Thu, 27 Nov 2003 21:15:53 +0000 (21:15 +0000)]
(buffer_posn_from_coords): Calculate and return pixel
coordinates relative to glyph at posn.  If glyph is an image,
return that as object at posn.  Callers changed.
(mode_line_string, marginal_area_string): Calculate and return
pixel coordinates relative to glyph.  Callers changed.

20 years ago(buffer_posn_from_coords, mode_line_string)
Kim F. Storm [Thu, 27 Nov 2003 21:12:12 +0000 (21:12 +0000)]
(buffer_posn_from_coords, mode_line_string)
(marginal_area_string): Fix prototypes.
(window_box_left_offset, window_box_right_offset): Add prototypes.

20 years ago(number-sequence): Improve handling of floating point arguments
Luc Teirlinck [Wed, 26 Nov 2003 19:23:58 +0000 (19:23 +0000)]
(number-sequence): Improve handling of floating point arguments
(suggested by Kim Storm).  Allow negative arguments.

20 years ago*** empty log message ***
Luc Teirlinck [Wed, 26 Nov 2003 19:21:31 +0000 (19:21 +0000)]
*** empty log message ***

20 years ago(Known Problems): Add doc item.
Thien-Thi Nguyen [Wed, 26 Nov 2003 17:12:46 +0000 (17:12 +0000)]
(Known Problems): Add doc item.

20 years ago(makefile-font-lock-syntactic-keywords): Don't use `space' for \\\n.
Stefan Monnier [Wed, 26 Nov 2003 16:49:33 +0000 (16:49 +0000)]
(makefile-font-lock-syntactic-keywords): Don't use `space' for \\\n.
Be more selective as to which # are comment-starters.

20 years ago(standard-display-european-internal):
Kenichi Handa [Tue, 25 Nov 2003 23:10:47 +0000 (23:10 +0000)]
(standard-display-european-internal):
Cancel the standard-display-table setting for ` and '.

20 years ago(cua--standard-movement-commands): Add forward-sentence and backward-sentence.
Kim F. Storm [Tue, 25 Nov 2003 22:10:52 +0000 (22:10 +0000)]
(cua--standard-movement-commands): Add forward-sentence and backward-sentence.

20 years ago* ido.el (ido-use-filename-at-point, ido-use-url-at-point):
Kim F. Storm [Tue, 25 Nov 2003 22:10:21 +0000 (22:10 +0000)]
* ido.el (ido-use-filename-at-point, ido-use-url-at-point):
New defcustoms to add ffap-like functionality to ido.
(ido-saved-vc-hb): Rename from ido-saved-vc-mt.  Uses changed.
(ido-no-final-slash): New defun.
(ido-make-prompt, ido-file-internal, ido-toggle-vc)
(ido-read-file-name): ): Toggle VC checking via
vc-handled-backends instead of vc-master-templates.
(ido-file-internal): Handle ido-use-url-at-point and
ido-use-filename-at-point via code borrowed from ffap-guesser.
Handle new ido-exit code ffap.
(ido-sort-list): Ignore final slash when sorting file names.

20 years ago*** empty log message ***
Kim F. Storm [Tue, 25 Nov 2003 22:09:55 +0000 (22:09 +0000)]
*** empty log message ***

20 years ago(comment-normalize-vars): Initialize properly if comment-start was nil.
Stefan Monnier [Tue, 25 Nov 2003 21:20:51 +0000 (21:20 +0000)]
(comment-normalize-vars): Initialize properly if comment-start was nil.

20 years agoiswitchb-read-buffer: check that iswitchb-exit is not 'usefirst (set
Stephen Eglen [Tue, 25 Nov 2003 14:45:32 +0000 (14:45 +0000)]
iswitchb-read-buffer: check that iswitchb-exit is not 'usefirst (set
when user presses RETURN to select buffer) before running:

;; This happens for example if the buffer was chosen with the mouse.
(setq iswitchb-matches (list iswitchb-final-text)))

iswitchb-exit-minibuffer: set iswitchb-exit to 'usefirst.

These changes were made to fix the following bug reported by Markus
Rost and John Wiegley:

Evaluate:
(progn
   (iswitchb-mode 1)
   (get-buffer-create "12")
   (get-buffer-create "1")
   (iswitchb-buffer))

You get prompted in the minibuffer.  Type "1".  The minibuffer shows

 iswitch 1{12,1}

Hit RET.  You find yourself in buffer "1" instead of "12", as you
would expect from the documentation.

This bug was introduced when iswitchb-read-buffer was updated to allow
user to select items from the *Completions* buffer with the mouse.

20 years ago(internal_equal) <case Lisp_Vectorlike>: Declare size as
Andreas Schwab [Tue, 25 Nov 2003 12:22:08 +0000 (12:22 +0000)]
(internal_equal) <case Lisp_Vectorlike>: Declare size as
EMACS_INT to not lose bits.
(Ffillarray): Don't set bits beyond the size of a bool vector.

20 years ago(Fredirect_debugging_output) [!GNU_LINUX]: Do not
Kim F. Storm [Tue, 25 Nov 2003 09:48:15 +0000 (09:48 +0000)]
(Fredirect_debugging_output) [!GNU_LINUX]: Do not
define this defun on systems that cannot use stderr as lvalue.

20 years ago*** empty log message ***
Kim F. Storm [Tue, 25 Nov 2003 09:47:57 +0000 (09:47 +0000)]
*** empty log message ***

20 years ago(make-mms-derivative-load-edits-file): Rewrite
Thien-Thi Nguyen [Tue, 25 Nov 2003 02:47:22 +0000 (02:47 +0000)]
(make-mms-derivative-load-edits-file): Rewrite
to avoid external programs; do all processing inside Emacs.

20 years agoAdd arch taglines
Miles Bader [Mon, 24 Nov 2003 22:23:52 +0000 (22:23 +0000)]
Add arch taglines

20 years agoResolve CVS conflicts
Miles Bader [Mon, 24 Nov 2003 22:19:51 +0000 (22:19 +0000)]
Resolve CVS conflicts

20 years ago(make-mms-derivative): Use suffix "-2mms"
Thien-Thi Nguyen [Mon, 24 Nov 2003 18:31:29 +0000 (18:31 +0000)]
(make-mms-derivative): Use suffix "-2mms"
instead of ".2mms" to support operation under VMS.

20 years agoInitial revision
Thien-Thi Nguyen [Mon, 24 Nov 2003 18:04:06 +0000 (18:04 +0000)]
Initial revision

20 years agoAdd blurb about new files.
Thien-Thi Nguyen [Mon, 24 Nov 2003 18:02:44 +0000 (18:02 +0000)]
Add blurb about new files.

20 years ago(LD_SWITCH_SYSTEM_TEMACS)
Gerd Moellmann [Mon, 24 Nov 2003 13:13:14 +0000 (13:13 +0000)]
(LD_SWITCH_SYSTEM_TEMACS)
[__FreeBSD_version >= 500042]: Define as -znocombreloc because
ld's default is incompatible with unexec.

20 years agoNew file.
Lars Hansen [Mon, 24 Nov 2003 09:28:49 +0000 (09:28 +0000)]
New file.

20 years agoEnhanced mouse events. Grep decoupled from compile.
Kim F. Storm [Sun, 23 Nov 2003 22:56:12 +0000 (22:56 +0000)]
Enhanced mouse events.  Grep decoupled from compile.

20 years agoRemove grep-use-compilation-buffer defcustom.
Kim F. Storm [Sun, 23 Nov 2003 22:51:14 +0000 (22:51 +0000)]
Remove grep-use-compilation-buffer defcustom.

20 years ago*** empty log message ***
Kim F. Storm [Sun, 23 Nov 2003 21:47:50 +0000 (21:47 +0000)]
*** empty log message ***

20 years ago(enum window_loop): Add REDISPLAY_BUFFER_WINDOWS.
Kim F. Storm [Sun, 23 Nov 2003 21:47:24 +0000 (21:47 +0000)]
(enum window_loop): Add REDISPLAY_BUFFER_WINDOWS.
(window_loop): Handle REDISPLAY_BUFFER_WINDOWS.
(Fforce_window_update): New defun.
(syms_of_window): Defsubr it.
(Fset_window_margins, Fset_window_fringes): Doc fix.

20 years ago(Fredirect_debugging_output): New defun.
Kim F. Storm [Sun, 23 Nov 2003 21:29:45 +0000 (21:29 +0000)]
(Fredirect_debugging_output): New defun.
(syms_of_print): Defsubr it.

20 years ago(grep-command, grep-use-null-device)
Kim F. Storm [Sun, 23 Nov 2003 20:57:47 +0000 (20:57 +0000)]
(grep-command, grep-use-null-device)
(grep-find-command, grep-tree-command, grep-tree-files-aliases)
(grep-tree-ignore-case, grep-tree-ignore-CVS-directories)
(grep-regexp-alist, grep-program, find-program)
(grep-find-use-xargs, grep-history, grep-find-history)
(grep-process-setup, grep-compute-defaults)
(grep-default-command, grep, grep-tag-default, grep-find)
(grep-expand-command-macros, grep-tree-last-regexp)
(grep-tree-last-files, grep-tree): Move grep variables, functions
and commands to new file grep.el.
(compilation-mode-map): Remove grep commands from Compile sub-menu.

(compilation-process-setup-function): Doc fix.
(compilation-highlight-regexp, compilation-highlight-overlay): New
defvars used for highlighting current compile error in source buffer.
(compile-internal): New optional args HIGHLIGHT-REGEXP and
LOCAL-MAP which overrides compilation-highlight-regexp and
compilation-mode-map for this compilation.
Delay calling compilation-set-window-height until after running
compilation-process-setup-function so it can buffer-local override
compilation-window-height.
Check buffer-local value of compilation-scroll-output.
(compilation-set-window-height): Use buffer-local value of
compilation-window-height.
(compilation-revert-buffer): Don't pass (undefined)
preserve-modes arg to revert-buffer.
(next-error-no-select, previous-error-no-select): New commands.
(compilation-goto-locus): Temporarily highlight current match in
source buffer using compilation-highlight-regexp.

20 years ago* progmodes/grep.el: New file with grep code from compile.el.
Kim F. Storm [Sun, 23 Nov 2003 20:56:10 +0000 (20:56 +0000)]
* progmodes/grep.el: New file with grep code from compile.el.
(grep): New defcustom group.
(grep-window-height): New defcustom, like compilation-window-height.
(grep-auto-highlight): New defcustom, like compile-auto-highlight.
(grep-scroll-output): New defcustom, like compilation-scroll-output.
(grep-command, grep-use-null-device, grep-find-command)
(grep-tree-files-aliases, grep-tree-ignore-case)
(grep-tree-ignore-CVS-directories): Move to grep custom group.
(grep-setup-hook): New hook variable.
(grep-mode-map): New keymap for grep commands.  Add Grep menu.
(grep-use-compilation-buffer): New defcustom.
(grep-last-buffer): New defvar, override compilation-last-buffer.
(grep): Add optional arg HIGHLIGHT-REGEXP.  Doc fix.
Call compile-internal with args highlight-regexp and grep-mode-map.

20 years ago(Fset_char_table_parent): Doc fix.
Luc Teirlinck [Sun, 23 Nov 2003 03:12:45 +0000 (03:12 +0000)]
(Fset_char_table_parent): Doc fix.

20 years ago*** empty log message ***
Luc Teirlinck [Sun, 23 Nov 2003 03:10:57 +0000 (03:10 +0000)]
*** empty log message ***

20 years ago(Click Events): Describe enhancements to event
Kim F. Storm [Sun, 23 Nov 2003 00:59:23 +0000 (00:59 +0000)]
(Click Events): Describe enhancements to event
position lists, including new text-pos and (col . row) items.
Mention left-fringe and right-fringe area events.
(Accessing Events): New functions posn-area, posn-object, and
posn-actual-col-row.  Mention posn-timestamp.  Mention that
posn-point in non-text area still returns buffer position.
Clarify posn-col-row.

20 years agoDescribe enhancements to mouse event positions.
Kim F. Storm [Sun, 23 Nov 2003 00:58:56 +0000 (00:58 +0000)]
Describe enhancements to mouse event positions.

20 years ago(gdb-mouse-toggle-breakpoint): New defun.
Kim F. Storm [Sun, 23 Nov 2003 00:27:38 +0000 (00:27 +0000)]
(gdb-mouse-toggle-breakpoint): New defun.
(gdba): Bind it to [left-margin mouse-1] and [left-fringe mouse-1].

20 years agoBind mouse-1 on left-fringe and right-fringe to mouse-set-point so
Kim F. Storm [Sun, 23 Nov 2003 00:27:27 +0000 (00:27 +0000)]
Bind mouse-1 on left-fringe and right-fringe to mouse-set-point so
that hscroll still works now that clicks on fringes generate specific
mouse events.
(mouse-set-point): Note that it now works in fringes and margins
too due to new semantics of posn-point in fringes and margins.

20 years ago(event-start, event-end): Doc fix.
Kim F. Storm [Sun, 23 Nov 2003 00:27:03 +0000 (00:27 +0000)]
(event-start, event-end): Doc fix.
(posn-window, posn-x-y, posn-timestamp): Simplify doc.
(posn-area, posn-actual-col-row, posn-object): New defuns.
(posn-col-row): Simplify doc.  Rewrite to use cond.
(posn-point): Also return buffer position for events outside text
area (that info is now present in the event position).

20 years agoChanges related to enhanced information in mouse event positions.
Kim F. Storm [Sun, 23 Nov 2003 00:26:37 +0000 (00:26 +0000)]
Changes related to enhanced information in mouse event positions.

20 years ago(note_mode_line_or_margin_highlight): Adapt to new
Kim F. Storm [Sun, 23 Nov 2003 00:10:40 +0000 (00:10 +0000)]
(note_mode_line_or_margin_highlight): Adapt to new
mode_line_string and marginal_area_string parameters.

20 years ago(coordinates_in_window): Remove redundant tests.
Kim F. Storm [Sun, 23 Nov 2003 00:10:08 +0000 (00:10 +0000)]
(coordinates_in_window): Remove redundant tests.
Fix returned X pixel value for left-margin.

20 years ago(make_lispy_position): New function for generating
Kim F. Storm [Sun, 23 Nov 2003 00:09:39 +0000 (00:09 +0000)]
(make_lispy_position): New function for generating
mouse click positions from frame and pixel coordinates.
Enhanced to return buffer position and actual row/column for
events outside the text area using updated mode_line_string and
marginal_area_string functions.
Return left-fringe and right-fringe clicks as such, rather than
clicks in text area.
(make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call
pixel_to_glyph_coords, as we never use the results.
(make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT,
WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code.
Eliminate unused code in WHEEL_EVENT handling.
(make_lispy_movement): Use make_lispy_position.

20 years ago(buffer_posn_from_coords): Return actual row/column
Kim F. Storm [Sun, 23 Nov 2003 00:09:19 +0000 (00:09 +0000)]
(buffer_posn_from_coords): Return actual row/column
for glyph clicked on, rather than (unused) pixel positions.
(mode_line_string, marginal_area_string): Change X and Y args to
pointers for returning actual row/column for glyph clicked on.
Simplify and optimize loops.

20 years ago(mode_line_string, marginal_area_string): Update prototypes.
Kim F. Storm [Sun, 23 Nov 2003 00:09:00 +0000 (00:09 +0000)]
(mode_line_string, marginal_area_string): Update prototypes.

20 years agoEnhance and consolidate mouse event handling.
Kim F. Storm [Sun, 23 Nov 2003 00:08:23 +0000 (00:08 +0000)]
Enhance and consolidate mouse event handling.

20 years ago*** empty log message ***
Lars Hansen [Sat, 22 Nov 2003 23:01:39 +0000 (23:01 +0000)]
*** empty log message ***

20 years ago(struct the_group): Added.
Lars Hansen [Sat, 22 Nov 2003 23:01:18 +0000 (23:01 +0000)]
(struct the_group): Added.
(getgrgid): Added.

20 years ago(struct my_group): Added.
Lars Hansen [Sat, 22 Nov 2003 23:00:59 +0000 (23:00 +0000)]
(struct my_group): Added.
(getgrgid): Added.

20 years ago* ack.texi: Note that Alan Mackenzie contributed the AWK support
Martin Stjernholm [Sat, 22 Nov 2003 22:44:31 +0000 (22:44 +0000)]
* ack.texi: Note that Alan Mackenzie contributed the AWK support
in CC Mode.

20 years ago* cc-mode.texi: Updated for CC Mode 5.30.
Martin Stjernholm [Sat, 22 Nov 2003 22:35:56 +0000 (22:35 +0000)]
* cc-mode.texi: Updated for CC Mode 5.30.

Note: Please refrain from doing purely cosmetic changes like
removing trailing whitespace in this manual; it clobbers cvs
merging for no good reason.

20 years ago*** empty log message ***
Luc Teirlinck [Sat, 22 Nov 2003 14:09:13 +0000 (14:09 +0000)]
*** empty log message ***

20 years agoFix typo for hide-ifdef-mode entry: "line" -> "like".
Thien-Thi Nguyen [Sat, 22 Nov 2003 07:34:51 +0000 (07:34 +0000)]
Fix typo for hide-ifdef-mode entry: "line" -> "like".

20 years ago(Fassq, Fassoc, Frassq, Frassoc): Doc fixes.
Luc Teirlinck [Sat, 22 Nov 2003 03:48:24 +0000 (03:48 +0000)]
(Fassq, Fassoc, Frassq, Frassoc): Doc fixes.

20 years ago*** empty log message ***
Luc Teirlinck [Sat, 22 Nov 2003 03:42:24 +0000 (03:42 +0000)]
*** empty log message ***

20 years ago*** empty log message ***
Lars Hansen [Fri, 21 Nov 2003 18:28:07 +0000 (18:28 +0000)]
*** empty log message ***

20 years ago(Ffile_attributes): Parameter ID-FORMAT added and included in call to file
Lars Hansen [Fri, 21 Nov 2003 18:27:51 +0000 (18:27 +0000)]
(Ffile_attributes): Parameter ID-FORMAT added and included in call to file
name handler. Numeric UID and GID optionally translated to strings. Docstring updated.
(directory_files_internal): Parameter ID-FORMAT added.
(Fdirectory_files_and_attributes): Parameter ID-FORMAT added and included in call to
file name handler and call to directory_files_internal. Docstring updated.
(Fdirectory_files): Dummy parameter added in call to directory_files_internal.

20 years ago(Qinteger): Added.
Lars Hansen [Fri, 21 Nov 2003 18:27:05 +0000 (18:27 +0000)]
(Qinteger): Added.
(Qinteger_or_floatp, Qinteger_or_float_or_marker_p): Removed.
(Ffile_attributes): Parameter added.