1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00
Commit Graph

48721 Commits

Author SHA1 Message Date
Kim F. Storm
2d4aac37dc (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.
2003-11-27 21:15:53 +00:00
Kim F. Storm
58df72561d (buffer_posn_from_coords, mode_line_string)
(marginal_area_string): Fix prototypes.
(window_box_left_offset, window_box_right_offset): Add prototypes.
2003-11-27 21:12:12 +00:00
Luc Teirlinck
2c1385edb6 (number-sequence): Improve handling of floating point arguments
(suggested by Kim Storm).  Allow negative arguments.
2003-11-26 19:23:58 +00:00
Luc Teirlinck
44d23d8d34 *** empty log message *** 2003-11-26 19:21:31 +00:00
Thien-Thi Nguyen
ba0dca357a (Known Problems): Add doc item. 2003-11-26 17:12:46 +00:00
Stefan Monnier
310ee6ada7 (makefile-font-lock-syntactic-keywords): Don't use `space' for \\\n.
Be more selective as to which # are comment-starters.
2003-11-26 16:49:33 +00:00
Kenichi Handa
d0d071d2d7 (standard-display-european-internal):
Cancel the standard-display-table setting for ` and '.
2003-11-25 23:10:47 +00:00
Kim F. Storm
c7cc2f9e9a (cua--standard-movement-commands): Add forward-sentence and backward-sentence. 2003-11-25 22:10:52 +00:00
Kim F. Storm
310682e6eb * 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.
2003-11-25 22:10:21 +00:00
Kim F. Storm
b96487199f *** empty log message *** 2003-11-25 22:09:55 +00:00
Stefan Monnier
0d6a08f64d (comment-normalize-vars): Initialize properly if comment-start was nil. 2003-11-25 21:20:51 +00:00
Stephen Eglen
4dddd07f26 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.
2003-11-25 14:45:32 +00:00
Andreas Schwab
00498bfc92 (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.
2003-11-25 12:22:08 +00:00
Kim F. Storm
95e52d8888 (Fredirect_debugging_output) [!GNU_LINUX]: Do not
define this defun on systems that cannot use stderr as lvalue.
2003-11-25 09:48:15 +00:00
Kim F. Storm
edaa824da3 *** empty log message *** 2003-11-25 09:47:57 +00:00
Thien-Thi Nguyen
26d7d4bb9f (make-mms-derivative-load-edits-file): Rewrite
to avoid external programs; do all processing inside Emacs.
2003-11-25 02:47:22 +00:00
Miles Bader
def6201d44 Add arch taglines 2003-11-24 22:23:52 +00:00
Miles Bader
7239c21756 Resolve CVS conflicts 2003-11-24 22:19:51 +00:00
Thien-Thi Nguyen
9e5cf80a04 (make-mms-derivative): Use suffix "-2mms"
instead of ".2mms" to support operation under VMS.
2003-11-24 18:31:29 +00:00
Thien-Thi Nguyen
ad80578f63 Initial revision 2003-11-24 18:04:06 +00:00
Thien-Thi Nguyen
1466c287bf Add blurb about new files. 2003-11-24 18:02:44 +00:00
Gerd Moellmann
74d6f539ad (LD_SWITCH_SYSTEM_TEMACS)
[__FreeBSD_version >= 500042]: Define as -znocombreloc because
ld's default is incompatible with unexec.
2003-11-24 13:13:14 +00:00
Lars Hansen
80586d8927 New file. 2003-11-24 09:28:49 +00:00
Kim F. Storm
5f6eef9448 Enhanced mouse events. Grep decoupled from compile. 2003-11-23 22:56:12 +00:00
Kim F. Storm
5f032b5036 Remove grep-use-compilation-buffer defcustom. 2003-11-23 22:51:14 +00:00
Kim F. Storm
63dc7c6bf8 *** empty log message *** 2003-11-23 21:47:50 +00:00
Kim F. Storm
e661376d0b (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.
2003-11-23 21:47:24 +00:00
Kim F. Storm
6a1ff3ba09 (Fredirect_debugging_output): New defun.
(syms_of_print): Defsubr it.
2003-11-23 21:29:45 +00:00
Kim F. Storm
9ac5747987 (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.
2003-11-23 20:57:47 +00:00
Kim F. Storm
318e297657 * 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.
2003-11-23 20:56:10 +00:00
Luc Teirlinck
c541e2a0b9 (Fset_char_table_parent): Doc fix. 2003-11-23 03:12:45 +00:00
Luc Teirlinck
aef109b7d5 *** empty log message *** 2003-11-23 03:10:57 +00:00
Kim F. Storm
c5cb529745 (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.
2003-11-23 00:59:23 +00:00
Kim F. Storm
1ce7c81948 Describe enhancements to mouse event positions. 2003-11-23 00:58:56 +00:00
Kim F. Storm
f48e9893db (gdb-mouse-toggle-breakpoint): New defun.
(gdba): Bind it to [left-margin mouse-1] and [left-fringe mouse-1].
2003-11-23 00:27:38 +00:00
Kim F. Storm
76693d1232 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.
2003-11-23 00:27:27 +00:00
Kim F. Storm
79bcefe203 (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).
2003-11-23 00:27:03 +00:00
Kim F. Storm
9063976458 Changes related to enhanced information in mouse event positions. 2003-11-23 00:26:37 +00:00
Kim F. Storm
72e72a1468 (note_mode_line_or_margin_highlight): Adapt to new
mode_line_string and marginal_area_string parameters.
2003-11-23 00:10:40 +00:00
Kim F. Storm
0de01dfe8a (coordinates_in_window): Remove redundant tests.
Fix returned X pixel value for left-margin.
2003-11-23 00:10:08 +00:00
Kim F. Storm
3d56670718 (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.
2003-11-23 00:09:39 +00:00
Kim F. Storm
ba922d0c08 (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.
2003-11-23 00:09:19 +00:00
Kim F. Storm
50a3403767 (mode_line_string, marginal_area_string): Update prototypes. 2003-11-23 00:09:00 +00:00
Kim F. Storm
63ccbe215a Enhance and consolidate mouse event handling. 2003-11-23 00:08:23 +00:00
Lars Hansen
930a9995bd *** empty log message *** 2003-11-22 23:01:39 +00:00
Lars Hansen
3d19b64595 (struct the_group): Added.
(getgrgid): Added.
2003-11-22 23:01:18 +00:00
Lars Hansen
49e7a2c0b1 (struct my_group): Added.
(getgrgid): Added.
2003-11-22 23:00:59 +00:00
Martin Stjernholm
1e487ff85c * ack.texi: Note that Alan Mackenzie contributed the AWK support
in CC Mode.
2003-11-22 22:44:31 +00:00
Martin Stjernholm
3a731e1f13 * 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.
2003-11-22 22:35:56 +00:00
Luc Teirlinck
3dbf3426f2 *** empty log message *** 2003-11-22 14:09:13 +00:00