bpt/emacs.git
19 years agoUndo last change.
Kim F. Storm [Tue, 16 Nov 2004 23:26:45 +0000 (23:26 +0000)]
Undo last change.

19 years ago*** empty log message ***
Richard M. Stallman [Tue, 16 Nov 2004 22:51:52 +0000 (22:51 +0000)]
*** empty log message ***

19 years ago(set-buffer-file-coding-system): Finish previous change.
Richard M. Stallman [Tue, 16 Nov 2004 22:37:04 +0000 (22:37 +0000)]
(set-buffer-file-coding-system): Finish previous change.

19 years ago* gtkutil.c (xg_get_file_name): Fix typo in
Jan Djärv [Tue, 16 Nov 2004 22:24:48 +0000 (22:24 +0000)]
* gtkutil.c (xg_get_file_name): Fix typo in
  HAVE_GTK_FILE_SELECTION_NEW.

19 years ago* xmenu.c (x_menu_in_use): Removed.
Jan Djärv [Tue, 16 Nov 2004 20:52:32 +0000 (20:52 +0000)]
* xmenu.c (x_menu_in_use): Removed.
(x_menu_set_in_use): Also set popup_activated_flag.

* xfns.c (Fx_file_dialog): Call popup_activated instead of
x_menu_in_use.  Call x_menu_set_in_use in Motif version also.

* xterm.h: (x_menu_in_use): Removed.

19 years ago*** empty log message ***
Richard M. Stallman [Tue, 16 Nov 2004 17:31:19 +0000 (17:31 +0000)]
*** empty log message ***

19 years ago(Coding Conventions): Separate defvar and require
Richard M. Stallman [Tue, 16 Nov 2004 17:30:48 +0000 (17:30 +0000)]
(Coding Conventions): Separate defvar and require
methods to avoid warnings.  Use require only when there are many
functions and variables from that package.

19 years ago(Minibuffer Completion): When ignoring case,
Richard M. Stallman [Tue, 16 Nov 2004 17:27:48 +0000 (17:27 +0000)]
(Minibuffer Completion): When ignoring case,
predicate must not be case-sensitive.

19 years ago(Function Debugging, Explicit Debug): Clarified.
Richard M. Stallman [Tue, 16 Nov 2004 17:26:18 +0000 (17:26 +0000)]
(Function Debugging, Explicit Debug): Clarified.
(Test Coverage): Don't talk about "splotches".  Clarified.

19 years ago(iso-tex2iso-trans-tab): Discard spaces after \i according to TeX rules.
Richard M. Stallman [Tue, 16 Nov 2004 17:20:32 +0000 (17:20 +0000)]
(iso-tex2iso-trans-tab): Discard spaces after \i according to TeX rules.

19 years ago(set-buffer-file-coding-system): New arg NOMODIFY.
Richard M. Stallman [Tue, 16 Nov 2004 17:18:39 +0000 (17:18 +0000)]
(set-buffer-file-coding-system): New arg NOMODIFY.
(after-insert-file-set-coding): Pass that new arg.
Prevent set-buffer-multibyte from trying to lock the file.

19 years ago(list-buffers-noselect): New arg BUFFER-LIST.
Richard M. Stallman [Tue, 16 Nov 2004 17:12:53 +0000 (17:12 +0000)]
(list-buffers-noselect): New arg BUFFER-LIST.

19 years ago(save-place): Doc fix.
Richard M. Stallman [Tue, 16 Nov 2004 17:11:00 +0000 (17:11 +0000)]
(save-place): Doc fix.

19 years ago(dabbrev-expand): When handling SPC M-/,
Richard M. Stallman [Tue, 16 Nov 2004 17:08:39 +0000 (17:08 +0000)]
(dabbrev-expand): When handling SPC M-/,
temporarily widen before finding the following word to copy.

19 years ago(map-keymap): Definition deleted.
Richard M. Stallman [Tue, 16 Nov 2004 17:06:56 +0000 (17:06 +0000)]
(map-keymap): Definition deleted.
(cl-map-keymap): Definition deleted.

19 years ago(map-keymap-internal): New function.
Richard M. Stallman [Tue, 16 Nov 2004 17:05:18 +0000 (17:05 +0000)]
(map-keymap-internal): New function.

19 years ago(Fmap_keymap): New arg SORT-FIRST. Use
Richard M. Stallman [Tue, 16 Nov 2004 17:00:59 +0000 (17:00 +0000)]
(Fmap_keymap): New arg SORT-FIRST.  Use
map-keymap-internal to implement that.

19 years ago(Fvertical_motion): In batch mode, use vmotion directly.
Richard M. Stallman [Tue, 16 Nov 2004 16:58:16 +0000 (16:58 +0000)]
(Fvertical_motion): In batch mode, use vmotion directly.

19 years agoTypo.
Kim F. Storm [Tue, 16 Nov 2004 15:42:24 +0000 (15:42 +0000)]
Typo.

19 years ago(Fdefine_fringe_bitmap): Always set 'h'. Simplify.
Kim F. Storm [Tue, 16 Nov 2004 15:41:54 +0000 (15:41 +0000)]
(Fdefine_fringe_bitmap): Always set 'h'. Simplify.

19 years ago(get_glyph_string_clip_rect, init_glyph_string): Check it's
Stefan Monnier [Tue, 16 Nov 2004 15:41:41 +0000 (15:41 +0000)]
(get_glyph_string_clip_rect, init_glyph_string): Check it's
a window before using XWINDOW.

19 years ago*** empty log message ***
Kim F. Storm [Tue, 16 Nov 2004 15:41:09 +0000 (15:41 +0000)]
*** empty log message ***

19 years agoAvoid side-effects inside XSETFASTINT's arguments.
Stefan Monnier [Tue, 16 Nov 2004 15:35:14 +0000 (15:35 +0000)]
Avoid side-effects inside XSETFASTINT's arguments.

19 years ago(NILP): Use EQ rather than XFASTINT.
Stefan Monnier [Tue, 16 Nov 2004 15:32:33 +0000 (15:32 +0000)]
(NILP): Use EQ rather than XFASTINT.

19 years ago(flyspell-mouse-map): Pop the menu
Stefan Monnier [Tue, 16 Nov 2004 15:29:10 +0000 (15:29 +0000)]
(flyspell-mouse-map): Pop the menu
when pressing rather than when releasing mouse-2.  Simplify.

19 years ago(find-function-regexp): Optimize `define-minor-mode'. Add `defun-cvs-mode'.
Juri Linkov [Tue, 16 Nov 2004 15:26:30 +0000 (15:26 +0000)]
(find-function-regexp): Optimize `define-minor-mode'.  Add `defun-cvs-mode'.
Add `deffoo'.  Add `f' to [^cgv] to exclude `defface'.
Remove invalid `\W' from [^cgv\W].  Doc fix.
(find-function-search-for-symbol): Replace "\\>" with "\\_>".

19 years ago(Fvertical_motion): Fix last change. Only reseat when
Kim F. Storm [Tue, 16 Nov 2004 14:21:37 +0000 (14:21 +0000)]
(Fvertical_motion): Fix last change.  Only reseat when
moving backwards.

19 years ago*** empty log message ***
Kim F. Storm [Tue, 16 Nov 2004 14:21:15 +0000 (14:21 +0000)]
*** empty log message ***

19 years ago(Window Frame Parameters): Fix typo.
Thien-Thi Nguyen [Tue, 16 Nov 2004 14:14:13 +0000 (14:14 +0000)]
(Window Frame Parameters): Fix typo.

19 years ago(compilation-setup): Don't set buffer-read-only.
Stefan Monnier [Tue, 16 Nov 2004 04:52:19 +0000 (04:52 +0000)]
(compilation-setup): Don't set buffer-read-only.
(compilation-mode): Set it here instead.

19 years agoUse make-symbol rather than gensym.
Stefan Monnier [Tue, 16 Nov 2004 04:05:29 +0000 (04:05 +0000)]
Use make-symbol rather than gensym.
(loop, cl-parse-loop-clause, defsetf): Use backquote.

19 years ago(pair-with-newsyms): Use make-symbol.
Stefan Monnier [Tue, 16 Nov 2004 04:04:50 +0000 (04:04 +0000)]
(pair-with-newsyms): Use make-symbol.

19 years ago*** empty log message ***
Luc Teirlinck [Tue, 16 Nov 2004 02:56:49 +0000 (02:56 +0000)]
*** empty log message ***

19 years agoMaintainer is now FSF.
Luc Teirlinck [Tue, 16 Nov 2004 02:54:06 +0000 (02:54 +0000)]
Maintainer is now FSF.
(life-patterns, life-neighbor-deltas, life-window-start)
(life-current-generation, life-generation-string): Use defvar instead
of defconst.

19 years agoExtern reseat_at_previous_visible_line_start.
Luc Teirlinck [Tue, 16 Nov 2004 02:01:00 +0000 (02:01 +0000)]
Extern reseat_at_previous_visible_line_start.

19 years agoCleanups.
Kim F. Storm [Tue, 16 Nov 2004 00:31:32 +0000 (00:31 +0000)]
Cleanups.

19 years ago(display_mode_element): Fix previous change (calculate
Kenichi Handa [Tue, 16 Nov 2004 00:30:13 +0000 (00:30 +0000)]
(display_mode_element): Fix previous change (calculate
end position of substring to display correctly).

19 years ago(Fposn_at_point): Remove extra */ after doc string.
Kim F. Storm [Mon, 15 Nov 2004 23:32:52 +0000 (23:32 +0000)]
(Fposn_at_point): Remove extra */ after doc string.
Reported by Andrew M. Scott.

19 years ago*** empty log message ***
Kim F. Storm [Mon, 15 Nov 2004 23:32:33 +0000 (23:32 +0000)]
*** empty log message ***

19 years ago(compilation-move-to-column): New fun.
Stefan Monnier [Mon, 15 Nov 2004 23:10:38 +0000 (23:10 +0000)]
(compilation-move-to-column): New fun.
(compilation-internal-error-properties)
(compilation-next-error-function): Use it to make sure we don't go past
the end of line.

19 years ago(auto-insert-alist): Insert the user's name in copyright notice,
John Paul Wallington [Mon, 15 Nov 2004 20:50:08 +0000 (20:50 +0000)]
(auto-insert-alist): Insert the user's name in copyright notice,
rather than Free Software Foundation, for the Emacs Lisp header case
too.

19 years agoFix typos & pr-switches-string
Vinicius Jose Latorre [Mon, 15 Nov 2004 19:31:54 +0000 (19:31 +0000)]
Fix typos & pr-switches-string

19 years ago(store_mode_line_string, produce_stretch_glyph):
Kim F. Storm [Mon, 15 Nov 2004 15:21:34 +0000 (15:21 +0000)]
(store_mode_line_string, produce_stretch_glyph):
Use Fsafe_plist_get.
(note_mode_line_or_margin_highlight, note_mouse_highlight):
Fix image map element parsing.  Use Fsafe_plist_get.

19 years ago(Fsafe_plist_get): New defun.
Kim F. Storm [Mon, 15 Nov 2004 15:21:14 +0000 (15:21 +0000)]
(Fsafe_plist_get): New defun.
(syms_of_fns): Defsubr it.

19 years ago(Fsafe_plist_get): Add EXFUN.
Kim F. Storm [Mon, 15 Nov 2004 15:20:57 +0000 (15:20 +0000)]
(Fsafe_plist_get): Add EXFUN.

19 years ago*** empty log message ***
Kim F. Storm [Mon, 15 Nov 2004 15:20:33 +0000 (15:20 +0000)]
*** empty log message ***

19 years ago(Other Plists): Note that plist-get may signal error.
Kim F. Storm [Mon, 15 Nov 2004 15:19:48 +0000 (15:19 +0000)]
(Other Plists): Note that plist-get may signal error.
Add safe-plist-get.

19 years ago*** empty log message ***
Kim F. Storm [Mon, 15 Nov 2004 15:12:29 +0000 (15:12 +0000)]
*** empty log message ***

19 years ago(get_next_display_element): Fix previous change.
Richard M. Stallman [Mon, 15 Nov 2004 13:34:40 +0000 (13:34 +0000)]
(get_next_display_element): Fix previous change.

19 years ago(Font Lock Basics): Fix typo.
Thien-Thi Nguyen [Mon, 15 Nov 2004 09:55:51 +0000 (09:55 +0000)]
(Font Lock Basics): Fix typo.

19 years ago*** empty log message ***
Jay Belanger [Mon, 15 Nov 2004 06:33:46 +0000 (06:33 +0000)]
*** empty log message ***

19 years ago(math-integrate-by-parts): Removed unused variable var-thing.
Jay Belanger [Mon, 15 Nov 2004 06:16:21 +0000 (06:16 +0000)]
(math-integrate-by-parts):  Removed unused variable var-thing.

(math-integ-depth, math-integ-level, math-integral-limit)
(math-enable-subst, math-any-substs, math-integ-msg)
(math-prev-parts-v, math-good-parts, math-max-integral-limit)
(math-int-threshold, math-int-factors, math-double-roots)
(math-solve-simplifying, var-IntegLimit, math-solve-sign)
(var-GenCount):  Declared these variables.
(calcFunc-integ):  Don't check if var-IntegLimit is bound.

(math-integral-cache, math-integral-cache-state):  Move declarations
to earlier in the file.

(math-deriv-var, math-deriv-total, math-deriv-symb):  New variables.
(math-derivative, calcFunc-deriv, calcFunc-tderiv):  Replace
variables deriv-var, deriv-total and deriv-symb by declared variables
math-deriv-var, math-deriv-total and math-deriv-symb.

(math-cur-record):  New variable.
(math-integral, math-replace-integral-parts, math-integrate-by-parts)
(calc-dump-integral-cache, math-try-integral):  Replace variable
cur-record by declared variable math-cur-record.

(math-has-rules):  New variable.
(math-try-integral, math-do-integral):  Use declared variable
math-has-rules instead of has-rules.

(math-t1, math-t2, math-t3):  New variables.
(math-do-integral, math-do-integral-methods, math-try-solve-for)
(math-try-solve-prod, math-solve-poly-funny-powers)
(math-solve-crunch-poly, math-decompose-poly)
(math-solve-find-root-term, math-find-root-in-prod):  Replace
variables t1, t2, t3 by declared variables math-t1, math-t2,
math-t3.

(math-so-far, math-integ-expr):  New variables.
(math-do-integral-methods, math-integ-try-linear-substitutions)
(math-integ-try-substitutions):  Replace variables so-far and expr by
declared variables math-so-far and math-integ-expr.

(math-expr-parts):  New variable.
(math-expr-rational-in, math-expr-rational-in-rec):  Replace variable
parts by declared variable math-expr-parts.

(calc-low, calc-high):  New variables.
(calcFunc-table, math-scan-for-limits):  Replaced variable low and
high with the declared variable calc-low and calc-high.

(math-solve-var, math-solve-full):  New variables.
(math-try-solve-for, math-try-solve-prod, math-solve-prod)
(math-decompose-poly, math-solve-quartic, math-poly-all-roots)
(math-solve-find-root-in-prod, math-solve-for, math-solve-system)
(math-solve-system-rec, math-solve-get-sign, math-solve-get-int):
Replace variables solve-var and solve-full with declared variables
math-solve-var and math-solve-full.

(math-solve-vars):  New variable.
(math-solve-system, math-solve-system-rec):  Replace variable
solve-vars with declared variable math-solve-vars.

(math-try-solve-sign):  New variable.
(math-try-solve-for, math-try-solve-prod):  Replace variable
sign by declared variable math-try-solve-sign.

(math-solve-b):  New variable.
(math-solve-poly-funny-powers, math-decompose-poly):  Replace variable
b by declared variable math-solve-b.

(math-solve-system-vv, math-solve-res):  New variables
(math-solve-system-rec, math-solve-system-subst):  Replaced variables
vv and res with declared variables math-solve-system-vv and
math-solve-system-res.

19 years agoRevision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-696
Miles Bader [Mon, 15 Nov 2004 05:26:20 +0000 (05:26 +0000)]
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-696

Merge from gnus--rel--5.10

Patches applied:

 * miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-72
   Update from CVS

19 years ago(compilation-internal-error-properties):
Stefan Monnier [Mon, 15 Nov 2004 04:51:50 +0000 (04:51 +0000)]
(compilation-internal-error-properties):
Fix up a transposition-typo.  Check end-col before using it.

19 years ago*** empty log message ***
Luc Teirlinck [Sun, 14 Nov 2004 23:27:46 +0000 (23:27 +0000)]
*** empty log message ***

19 years ago(convert-standard-filename): Doc fix.
Luc Teirlinck [Sun, 14 Nov 2004 23:24:14 +0000 (23:24 +0000)]
(convert-standard-filename): Doc fix.

19 years ago*** empty log message ***
Kim F. Storm [Sun, 14 Nov 2004 23:21:14 +0000 (23:21 +0000)]
*** empty log message ***

19 years ago(nnfolder-save-marks): Add missing format field in call to `error'.
Luc Teirlinck [Sun, 14 Nov 2004 23:07:12 +0000 (23:07 +0000)]
(nnfolder-save-marks): Add missing format field in call to `error'.

19 years ago(nnml-save-marks): Add missing format field in call to `error'.
Luc Teirlinck [Sun, 14 Nov 2004 23:03:04 +0000 (23:03 +0000)]
(nnml-save-marks): Add missing format field in call to `error'.

19 years ago(gnus-convert-old-newsrc): Assign
Reiner Steib [Sun, 14 Nov 2004 20:45:05 +0000 (20:45 +0000)]
(gnus-convert-old-newsrc): Assign
legacy-gnus-agent to 5.10.7.

19 years ago(auto-mode-alist): handle .gtkrc, and under /etc passwd, group, shadow, default/...
Daniel Pfeiffer [Sun, 14 Nov 2004 18:11:57 +0000 (18:11 +0000)]
(auto-mode-alist): handle .gtkrc, and under /etc passwd, group, shadow, default/* and pam.d/*.

19 years agoadjust pr-menu-spec
Vinicius Jose Latorre [Sun, 14 Nov 2004 16:50:37 +0000 (16:50 +0000)]
adjust pr-menu-spec

19 years ago* window.c (shrink_windows): Handle special case of one window left
Jan Djärv [Sun, 14 Nov 2004 11:59:21 +0000 (11:59 +0000)]
* window.c (shrink_windows): Handle special case of one window left
when trying to shrink the final reminder.  Grow windows if
total_removed is less than total_shrink.

19 years agoRemoved fprintf
Jan Djärv [Sun, 14 Nov 2004 10:59:31 +0000 (10:59 +0000)]
Removed fprintf

19 years ago* xmenu.c (pop_down_menu): Remove global variable current_menu,
Jan Djärv [Sun, 14 Nov 2004 10:55:45 +0000 (10:55 +0000)]
* xmenu.c (pop_down_menu): Remove global variable current_menu,
extract pointer from arg with XSAVE_VALUE.
(create_and_show_popup_menu, create_and_show_dialog,
xmenu_show): Construct arg to record_unwind_protect with
make_save_value.

19 years ago* xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use.
Jan Djärv [Sun, 14 Nov 2004 09:59:02 +0000 (09:59 +0000)]
* xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use.
Record unwind with clean_up_file_dialog.

19 years ago(winner-active-region, winner-edges, winner-window-list): Define at toplevel.
Stefan Monnier [Sun, 14 Nov 2004 06:31:12 +0000 (06:31 +0000)]
(winner-active-region, winner-edges, winner-window-list): Define at toplevel.
(winner-mode-map): Move init inside declaration.

19 years agoReverse previous change.
Luc Teirlinck [Sun, 14 Nov 2004 06:21:25 +0000 (06:21 +0000)]
Reverse previous change.

19 years ago*** empty log message ***
Stefan Monnier [Sun, 14 Nov 2004 06:21:11 +0000 (06:21 +0000)]
*** empty log message ***

19 years ago(byte-optimize-inline-handler): Simplify.
Stefan Monnier [Sun, 14 Nov 2004 06:19:52 +0000 (06:19 +0000)]
(byte-optimize-inline-handler): Simplify.
(byte-decompile-bytecode-1): Remove unused vars `tag' and `retcount'.

19 years agoextern reseat_at_previous_visible_line_start.
Luc Teirlinck [Sun, 14 Nov 2004 05:24:59 +0000 (05:24 +0000)]
extern reseat_at_previous_visible_line_start.

19 years ago(syms_of_minibuf) <completion-ignore-case>: Doc fix.
Richard M. Stallman [Sun, 14 Nov 2004 05:17:58 +0000 (05:17 +0000)]
(syms_of_minibuf) <completion-ignore-case>: Doc fix.

19 years ago(reseat_at_previous_visible_line_start): No longer static.
Richard M. Stallman [Sun, 14 Nov 2004 04:31:03 +0000 (04:31 +0000)]
(reseat_at_previous_visible_line_start): No longer static.
(get_next_display_element): Fix latest change: applies only to \n.

19 years ago(Fvertical_motion): Scan to PT from start of line to make iterator consistent.
Richard M. Stallman [Sun, 14 Nov 2004 04:13:54 +0000 (04:13 +0000)]
(Fvertical_motion): Scan to PT from start of line to make iterator consistent.

19 years agointeractive-p & file permission bits
Vinicius Jose Latorre [Sun, 14 Nov 2004 00:47:34 +0000 (00:47 +0000)]
interactive-p & file permission bits

19 years ago(font-lock-fontify-syntactically-region): Fix last fix
Stefan Monnier [Sun, 14 Nov 2004 00:37:12 +0000 (00:37 +0000)]
(font-lock-fontify-syntactically-region): Fix last fix
so it doesn't forget to highlight the beginning of the region either.

19 years ago* xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use.
Jan Djärv [Sat, 13 Nov 2004 23:29:11 +0000 (23:29 +0000)]
* xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use.
Record unwind with clean_up_file_dialog.

* xterm.h: Declare x_menu_in_use, x_menu_set_in_use,
x_menu_wait_for_event.

* xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions.

19 years agoAdd BLOCK_INPUT in pop_down_file_dialog.
Jan Djärv [Sat, 13 Nov 2004 23:17:55 +0000 (23:17 +0000)]
Add BLOCK_INPUT in pop_down_file_dialog.

19 years ago* gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel)
Jan Djärv [Sat, 13 Nov 2004 23:09:11 +0000 (23:09 +0000)]
* gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel)
(xg_file_sel_destroy): Removed.
(xg_file_response_cb, pop_down_file_dialog,
xg_get_file_name_from_chooser, xg_get_file_name_from_selector):
New functions.
(xg_get_file_with_chooser, xg_get_file_with_selection): Take
new argument func, set it to xg_get_file_name_from_chooser/selector.
Move common code to xg_get_file_name.  Return widget created.
(xg_get_file_name): Set name, transient for, modal and destroy
with parent here.  Connect response signal to xg_file_response_cb,
connect delete-event to gtk_true.  Record pop_down_file_dialog
for unwind.  Do event loop and call x_menu_wait_for_event in loop.
(xg_create_widget): Make dialogs modal.

19 years ago*** empty log message ***
Daniel Pfeiffer [Sat, 13 Nov 2004 20:40:47 +0000 (20:40 +0000)]
*** empty log message ***

19 years ago(c-basic-common-initc-font-lock-init, c-font-lock-init): Eliminate obsolete make...
Daniel Pfeiffer [Sat, 13 Nov 2004 20:23:38 +0000 (20:23 +0000)]
(c-basic-common-initc-font-lock-init, c-font-lock-init): Eliminate obsolete make-local-hook.
(c-mode, c++-mode, objc-mode, java-mode, idl-mode, pike-mode, awk-mode): Use run-mode-hooks.

19 years ago* xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type
Jan Djärv [Sat, 13 Nov 2004 20:18:21 +0000 (20:18 +0000)]
* xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type
Lisp_Object.
(popup_get_selection): Move unwind protect ...
(create_and_show_popup_menu, create_and_show_dialog): ... to here.
Move destroy of widget to pop_down_menu.
(popup_widget_loop): Move unwind protect ...
(create_and_show_popup_menu, create_and_show_dialog): ... to here.
Move destroy of widget to pop_down_menu.
(pop_down_menu): BLOCK_INPUT and destroy widget/window.
(xmenu_show): record unwind pop_down_menu.  Move XMenuDestroy,
x_mouse_leave and grabbed = 0 to pop_down_menu.

19 years agoAdd bug:
Kim F. Storm [Sat, 13 Nov 2004 01:42:56 +0000 (01:42 +0000)]
Add bug:

** Partial highlighting of wrapped overlay

19 years agoFixed these problems:
Kim F. Storm [Sat, 13 Nov 2004 01:40:36 +0000 (01:40 +0000)]
Fixed these problems:

** Clicking on partially visible lines fails

From: David Kastrup <dak@gnu.org>
Date: 27 Apr 2004 16:42:58 +0200

I had gnus display a mouse-highlighted line (a URL from browse-url)
partially at the bottom of its window.  If I click with middle mouse
key on it, the window gets recentered while I hold the mouse key
pressed.  If I release it, the window returns into its old position
(cursor in top row) and nothing happens, presumably because the click
was not registered on the line itself, but on the magically
recentered version.

That is a nuisance.  Recentering of even partially visible click
targets should only happen if window-point moves there, but not at
the time of the click.  From the moment I hold down a key until it
gets released, the displayed window portion should not change, with
the sole exception of scrolling when dragging at the edge of the
screen.

(progn
  (setq line-spacing 4)
  (dotimes (i (window-height))
    (insert "\n" (int-to-string i)))
  (forward-line -2)
  (recenter -1))

** Can't drag modeline when mouse-autoselect-window is set

From: Klaus Zeitler <kzeitler@lucent.com>
Date: Mon, 11 Oct 2004 11:14:49 +0200

1. start emacs -q --no-site-file
2. set variable mouse-autoselect-window to t
3. split-window-vertically

now I can drag the modeline only upwards but not downwards

19 years ago(mouse-drag-copy-region): Add :version.
Kim F. Storm [Sat, 13 Nov 2004 01:29:45 +0000 (01:29 +0000)]
(mouse-drag-copy-region): Add :version.
(mouse-drag-mode-line-1): Let bind mouse-autoselect-window to nil
while dragging mode line, so mode line can be dragged downwards.
(mouse-drag-region-1): Let bind make-cursor-line-fully-visible
while pressing mouse button so window doesn't scroll until we
release the mouse if clicking on partially visible line.

19 years ago*** empty log message ***
Kim F. Storm [Sat, 13 Nov 2004 01:29:31 +0000 (01:29 +0000)]
*** empty log message ***

19 years ago(make_cursor_line_fully_visible_p): New variable.
Kim F. Storm [Sat, 13 Nov 2004 01:05:47 +0000 (01:05 +0000)]
(make_cursor_line_fully_visible_p): New variable.
(syms_of_xdisp): DEFVAR_BOOL it.
(make_cursor_line_fully_visible, try_cursor_movement)
(try_window_id): Use it.

19 years ago*** empty log message ***
Kim F. Storm [Sat, 13 Nov 2004 00:57:27 +0000 (00:57 +0000)]
*** empty log message ***

19 years agorun-mode-hooks instead of run-hooks
Daniel Pfeiffer [Fri, 12 Nov 2004 23:47:30 +0000 (23:47 +0000)]
run-mode-hooks instead of run-hooks

19 years ago(calc-dumb-map): Declared it.
Jay Belanger [Fri, 12 Nov 2004 22:35:21 +0000 (22:35 +0000)]
(calc-dumb-map):  Declared it.
(calc-graph-show-dumb):  Check if calc-dumb-map is non-nil rather than
unbound.

(calc-graph-name):  Made `end' a local variable.

(calc-graph-lookup):  Made `varname' a local variable.

(var-DUMMY, var-DUMMY2, var-PlotRejects, calc-gnuplot-trail-mark):
Declared them.
(calc-graph-format-data):  Don't check if var-PlotRejects is bound.

(calc-graph-plot, calc-graph-compute-3d):  Removed references to the
unused variable y3vec.

(calc-graph-show-dumb):  Removed reference to unused variable found-pt.

(calc-graph-kill-hook, calc-graph-plot):  Removed reference to
calc-graph-prev-kill-hook.

(calc-graph-yvalue, calc-graph-yvec, calc-graph-numsteps,
calc-graph-numsteps3, calc-graph-xvalue, calc-graph-xvec,
calc-graph-xname, calc-graph-yname, calc-graph-xstep,
calc-graph-ycache, calc-graph-ycacheptr, calc-graph-refine,
calc-graph-keep-file, calc-graph-xval, calc-graph-xlow,
calc-graph-xhigh, calc-graph-yval, calc-graph-yp, calc-graph-xp,
calc-graph-zp, calc-graph-yvector, calc-graph-resolution,
calc-graph-y3value, calc-graph-y3name,
calc-graph-y3step, calc-graph-y3step, calc-graph-zval,
calc-graph-stepcount, calc-graph-is-splot, calc-graph-surprise-splot,
calc-graph-blank, calc-graph-non-blank, calc-graph-curve-num):  New
variables.
(calc-graph-plot, calc-graph-compute-2d, calc-graph-refine-2d)
(calc-graph-recompute-2d, calc-graph-compute-3d, calc-graph-format-data):
Replaced undeclared variables with the above declared variables.

19 years agoChangeLog
Eli Zaretskii [Fri, 12 Nov 2004 18:19:08 +0000 (18:19 +0000)]
ChangeLog

19 years agoAdd a test for DECL_ALIGN support, and add a trivial definition to
Eli Zaretskii [Fri, 12 Nov 2004 18:18:43 +0000 (18:18 +0000)]
Add a test for DECL_ALIGN support, and add a trivial definition to
src/config.h if 8-byte alignment is not supported.

19 years ago(rmail-get-new-mail): Use the renamed variables `rsf-beep' and
Eli Zaretskii [Fri, 12 Nov 2004 17:10:38 +0000 (17:10 +0000)]
(rmail-get-new-mail): Use the renamed variables `rsf-beep' and
`rsf-sleep-after-message'.

19 years ago(rmail-spam-filter): Only check white list if `message-sender' is non-nil.
Eli Zaretskii [Fri, 12 Nov 2004 17:03:56 +0000 (17:03 +0000)]
(rmail-spam-filter): Only check white list if `message-sender' is non-nil.

19 years ago(desktop-create-buffer, desktop-save): Avoid some consing by using mapc
Eli Zaretskii [Fri, 12 Nov 2004 16:56:09 +0000 (16:56 +0000)]
(desktop-create-buffer, desktop-save): Avoid some consing by using mapc
instead of mapcar.

19 years agoChangeLog
Eli Zaretskii [Fri, 12 Nov 2004 16:11:11 +0000 (16:11 +0000)]
ChangeLog

19 years agoDon't require djecho.exe for the v1.x build.
Eli Zaretskii [Fri, 12 Nov 2004 16:10:03 +0000 (16:10 +0000)]
Don't require djecho.exe for the v1.x build.

19 years agoFixed this bug:
Kim F. Storm [Fri, 12 Nov 2004 14:29:24 +0000 (14:29 +0000)]
Fixed this bug:

** line-spacing and (recenter -1)

From: SAITO Takuya <tabmore@rivo.mediatti.net>
Date: Mon, 31 May 2004 02:07:57 +0900 (JST)

(recenter -1) does not show point at the bottom of the window
if line-spacing is set to positive integer.

Start emacs -Q, and evaluate below:

(progn
  (setq line-spacing 1)
  (dotimes (i (window-height))
    (insert "\n" (int-to-string i)))
  (recenter -1))

Then, point is displayed at the center of the window.
But point should be displayed at the bottom of the window like Emacs-21.3.

19 years ago(init_iterator): Clear it.max_extra_line_spacing.
Kim F. Storm [Fri, 12 Nov 2004 14:27:07 +0000 (14:27 +0000)]
(init_iterator): Clear it.max_extra_line_spacing.
(move_it_vertically_backward): Don't recure to move further back.
(move_it_vertically): Remove superfluous condition.
(move_it_by_lines): Clear last_height when moved 0 lines.
(resize_mini_window): use it.max_extra_line_spacing.
(display_tool_bar_line): Clear row->extra_line_spacing.
(try_scrolling): Use move_it_vertically_backward directly.
(redisplay_window): Likewise.
(compute_line_metrics): Set row->extra_line_spacing.
(display_line, display_string): Likewise.
(x_produce_glyphs): Update it->max_extra_line_spacing.

19 years ago(window_scroll_pixel_based, Frecenter): Use
Kim F. Storm [Fri, 12 Nov 2004 14:26:53 +0000 (14:26 +0000)]
(window_scroll_pixel_based, Frecenter): Use
move_it_vertically_backward directly.
(Frecenter): Fix calculation of new start pos for negative arg.
Before, the new start pos was sometimes chosen too far back, so
the last line became only partially visible, and thus would be
either only semi-visible or automatically scrolled to the middle
of the window by redisplay.