Stefan Monnier [Thu, 15 Nov 2007 16:03:00 +0000 (16:03 +0000)]
* subr.el (event-modifiers): Use internal-event-symbol-parse-modifiers.
* keyboard.c (Fevent_symbol_parse_modifiers): New function.
(syms_of_keyboard): Defsubr it.
Make prototypes for extern definitions, and add all
that are needed to quench warnings on 64-bit.
(main): Use the same defaults for ctags as for etags: find
typedefs, structure tags, macro constants, enum constants, struct
members and global variables.
(make_C_tag) [DEBUG]: Add debugging printout.
(C_entries): In case '}' decrement bracelev before testing it.
Make prototypes for extern definitions, and add all
that are needed to quench warnings on 64-bit.
(main): Use the same defaults for ctags as for etags: find
typedefs, structure tags, macro constants, enum constants, struct
members and global variables.
(make_C_tag) [DEBUG]: Add debugging printout.
(C_entries): In case '}' decrement bracelev before testing it.
Stefan Monnier [Thu, 15 Nov 2007 06:00:07 +0000 (06:00 +0000)]
(swap_in_global_binding): Fix longstanding bug where
store_symval_forwarding was not called with the right second argument,
thus causing objfwd-ing from being dropped.
Nick Roberts [Wed, 14 Nov 2007 08:59:16 +0000 (08:59 +0000)]
(gdb-parent-bptno-enabled): New variable.
(gdb-breakpoint-regexp, gdb-mouse-toggle-breakpoint-margin)
(gdb-mouse-toggle-breakpoint-fringe, gdb-delete-breakpoint)
(gdb-goto-breakpoint): Generalise for breakpoints with multiple
locations.
(gdb-info-breakpoints-custom, gdb-assembler-custom)
(gdb-toggle-breakpoint): Update for new gdb-breakpoint-regexp.
(gdb-put-breakpoint-icon): Only display icon for parent breakpoint.
Dan Nicolaescu [Tue, 13 Nov 2007 16:10:14 +0000 (16:10 +0000)]
* emacs-lisp/byte-opt.el (byte-compile-trueconstp): Handle more
constant forms.
(byte-compile-nilconstp): New function.
(byte-optimize-cond): Kill subsequent branches when a branch is
know to be taken or not taken.
(byte-optimize-if): Use byte-compile-nilconstp instead of hand
coding.
Juri Linkov [Sat, 10 Nov 2007 21:53:47 +0000 (21:53 +0000)]
(doc-view-mode-map, doc-view-menu, doc-view-pdf->txt-sentinel):
Adapt to new search UI.
(doc-view-search-backward): New function.
(doc-view-search): Query new regexp if prefix arg is given, else
jump to next/previous match.
(doc-view-mode): Handle compressed files.
(jka-compr): Required for compressed files.
Martin Rudalics [Sat, 10 Nov 2007 09:54:07 +0000 (09:54 +0000)]
(help-mode): Set view-exit-action to bury the
buffer instead of fiddling with windows. Simplify code.
(help-mode-finish): When help-window eqs t set it to the selected
window and have with-help-window set up view-return-to-alist.
(help-buffer): Add autoload cookie.
Martin Rudalics [Sat, 10 Nov 2007 09:53:22 +0000 (09:53 +0000)]
(help-window, help-window-point-marker): New variables.
(help-window-select): New option.
(with-help-window): New macro for displaying help windows.
(help-window-display-message, help-window-setup-finish)
(help-window-setup): New functions used for setting up help windows.
(print-help-return-message): Reset help-window to nil.
(view-lossage): Use with-help-window instead of
with-output-to-temp-buffer and move help-window-point-marker after
inserted text.
(describe-bindings, describe-key, describe-mode): Use
with-help-window instead of with-output-to-temp-buffer.
Martin Rudalics [Sat, 10 Nov 2007 09:52:30 +0000 (09:52 +0000)]
(view-remove-frame-by-deleting): Change default value to t.
Add autoload cookie.
(view-exit-action, view-file, view-file-other-window)
(view-file-other-frame, view-buffer, view-buffer-other-window)
(view-buffer-other-frame): Rewrite doc strings.
(view-return-to-alist-update): New function to remove stale entries
from view-return-to-alist.
(view-mode-enter): Rewrite doc string and simplify code.
(view-mode-exit): Handle new case 'keep-frame. Don't reset
view-exit-action to nil. Simplify code and rewrite doc string.
Dan Nicolaescu [Sat, 10 Nov 2007 08:05:15 +0000 (08:05 +0000)]
* emacs-lisp/byte-opt.el (byte-optimize-featurep): Optimize
(featurep 'emacs) to t.
* emacs-lisp/bytecomp.el (byte-compile-find-bound-condition): New
function.
(byte-compile-maybe-guarded): Use it to also look for bound
symbols inside `and' forms. Comment out non-working code that was
trying to avoid warnings for XEmacs code.
Dan Nicolaescu [Sat, 10 Nov 2007 05:22:16 +0000 (05:22 +0000)]
* vc.el (vc-diff-internal): Make the *vc-diff* buffer read only.
* vc-svn.el (vc-svn-print-log, vc-svn-diff):
* vc-mcvs.el (vc-mcvs-print-log, vc-mcvs-annotate-command):
* vc-cvs.el (vc-cvs-print-log, vc-cvs-diff)
(vc-cvs-annotate-command):
* vc-arch.el (vc-arch-diff): Remove test to check if start-process
is bound, it always is.
Stefan Monnier [Fri, 9 Nov 2007 19:37:03 +0000 (19:37 +0000)]
(x-select-text, x-cut-buffer-or-selection-value):
Make them work in tty frames.
(interprogram-cut-function, interprogram-paste-function): Set them globally.