]> git.eshelyaron.com Git - emacs.git/log
emacs.git
15 years ago(FIXNUM_OVERFLOW_P): Fix last change to handle unsigned
Andreas Schwab [Sat, 24 Oct 2009 16:32:06 +0000 (16:32 +0000)]
(FIXNUM_OVERFLOW_P): Fix last change to handle unsigned
types again.

15 years ago(procfs_ttyname): Fix sprintf format to match argument
Andreas Schwab [Sat, 24 Oct 2009 14:01:03 +0000 (14:01 +0000)]
(procfs_ttyname): Fix sprintf format to match argument
type.
(system_process_attributes): Likewise.

15 years ago(vc-backend-for-registration): Rename from
Dan Nicolaescu [Sat, 24 Oct 2009 06:34:26 +0000 (06:34 +0000)]
(vc-backend-for-registration): Rename from
vc-get-backend-for-registration.  Update callers.

15 years ago* keymap.c (Fmake_sparse_keymap): Purecopy the name.
Dan Nicolaescu [Sat, 24 Oct 2009 06:32:03 +0000 (06:32 +0000)]
* keymap.c (Fmake_sparse_keymap): Purecopy the name.

* eval.c (Fautoload): Purecopy the filename.  Simplify.

* category.c (Fdefine_category): Purecopy docstring.

* international/mule-cmds.el (set-language-info-alist): Purecopy lang-env.
(leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
(charset): Purecopy the name.
(define-char-code-property): Purecopy string arguments.

* emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
Purecopy string arguments.

* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
* ediff-hook.el (menu-bar-ediff-menu):
* buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
* bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.

15 years ago(pcomplete-erc-all-nicks): Autoload it, to silence compiler.
Glenn Morris [Sat, 24 Oct 2009 03:54:58 +0000 (03:54 +0000)]
(pcomplete-erc-all-nicks): Autoload it, to silence compiler.

15 years ago(pcomplete-erc-all-nicks): Autoload it, to silence compiler.
Glenn Morris [Sat, 24 Oct 2009 03:54:50 +0000 (03:54 +0000)]
(pcomplete-erc-all-nicks):  Autoload it, to silence compiler.
(pcomplete/erc-mode/DCC): Replace cl-function remove-duplicates with
erc-delete-dups.

15 years ago(file-cache-completions-keymap): Bind mouse-2 to
Glenn Morris [Sat, 24 Oct 2009 03:51:51 +0000 (03:51 +0000)]
(file-cache-completions-keymap): Bind mouse-2 to
file-cache-choose-completion.
(file-cache-choose-completion): Handle an optional event argument.
(file-cache-mouse-choose-completion): Make it an obsolete alias.

15 years ago(comint-dynamic-list-completions): Use choose-completion rather than
Glenn Morris [Sat, 24 Oct 2009 03:50:20 +0000 (03:50 +0000)]
(comint-dynamic-list-completions): Use choose-completion rather than
obsolete alias mouse-choose-completion.

15 years ago(term-dynamic-list-completions): Use choose-completion rather than
Glenn Morris [Sat, 24 Oct 2009 03:49:44 +0000 (03:49 +0000)]
(term-dynamic-list-completions): Use choose-completion rather than
obsolete alias mouse-choose-completion.

15 years ago(octave-complete-symbol): Use choose-completion if
Glenn Morris [Sat, 24 Oct 2009 03:48:37 +0000 (03:48 +0000)]
(octave-complete-symbol): Use choose-completion if
mouse-choose-completion is ever removed.

15 years ago(sgml-looking-back-at): Move definition before use.
Glenn Morris [Sat, 24 Oct 2009 03:45:50 +0000 (03:45 +0000)]
(sgml-looking-back-at): Move definition before use.

15 years ago(generate-autoload-cookie): Define for compiler.
Glenn Morris [Sat, 24 Oct 2009 03:44:42 +0000 (03:44 +0000)]
(generate-autoload-cookie): Define for compiler.

15 years agoConvert comment about autoload into autoload comment.
Glenn Morris [Sat, 24 Oct 2009 03:43:47 +0000 (03:43 +0000)]
Convert comment about autoload into autoload comment.
(vc-responsible-backend): Fix declaration.

15 years ago(help-xref-stack-item): Define for compiler.
Glenn Morris [Sat, 24 Oct 2009 03:42:18 +0000 (03:42 +0000)]
(help-xref-stack-item): Define for compiler.

15 years ago(completion--embedded-envvar-table): Fix last change.
Stefan Monnier [Sat, 24 Oct 2009 00:46:17 +0000 (00:46 +0000)]
(completion--embedded-envvar-table): Fix last change.
Ignore `pred' now that we receive one.  Handle test-completion specially.

15 years ago(FIXNUM_OVERFLOW_P): Remove cast to avoid overflow.
Andreas Schwab [Fri, 23 Oct 2009 20:56:30 +0000 (20:56 +0000)]
(FIXNUM_OVERFLOW_P): Remove cast to avoid overflow.

15 years agoFix typo.
Chong Yidong [Fri, 23 Oct 2009 18:39:48 +0000 (18:39 +0000)]
Fix typo.

15 years ago(vc-responsible-backend): Throw an error if not backend is
Dan Nicolaescu [Fri, 23 Oct 2009 18:07:38 +0000 (18:07 +0000)]
(vc-responsible-backend): Throw an error if not backend is
found.  Remove the REGISTER argument. Move the code dealing with
REGISTER ...
(vc-get-backend-for-registration): ... here.  New function.
(vc-deduce-fileset): Call vc-get-backend-for-registration instead
of vc-responsible-backend, pass the file name instead of the
directory name.

15 years ago(PURESIZE_RATIO): Decrease to 11/7.
Andreas Schwab [Fri, 23 Oct 2009 17:56:06 +0000 (17:56 +0000)]
(PURESIZE_RATIO): Decrease to 11/7.

15 years ago* window.c (Fwindow_edges, Fwindow_pixel_edges)
Chong Yidong [Fri, 23 Oct 2009 17:52:56 +0000 (17:52 +0000)]
* window.c (Fwindow_edges, Fwindow_pixel_edges)
(Fwindow_inside_edges, Fwindow_inside_pixel_edges): Doc fix
(Bug#4775).

15 years ago(pcomplete-common-suffix, pcomplete-table-subvert): New funs.
Stefan Monnier [Fri, 23 Oct 2009 17:37:09 +0000 (17:37 +0000)]
(pcomplete-common-suffix, pcomplete-table-subvert): New funs.
(pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
(pcomplete-comint-setup): Don't modify a global var via
accidental side-effects.
(pcomplete-shell-setup): Adjust call accordingly.
(pcomplete-parse-comint-arguments): Use push.

15 years ago* fileio.c (syms_of_fileio): Initialize Vdirectory_sep_char.
Stefan Monnier [Fri, 23 Oct 2009 17:33:52 +0000 (17:33 +0000)]
* fileio.c (syms_of_fileio): Initialize Vdirectory_sep_char.
(init_fileio_once):
* lisp.h (init_fileio_once): Remove.
* emacs.c (main): Don't call init_fileio_once.

15 years ago* emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
Chong Yidong [Fri, 23 Oct 2009 17:26:06 +0000 (17:26 +0000)]
* emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
Allow uncapitalized info node names (Bug#3921).

15 years ago* configure.in: Invoke $CPP with -P when creating Makefile and
Chong Yidong [Fri, 23 Oct 2009 16:19:37 +0000 (16:19 +0000)]
* configure.in: Invoke $CPP with -P when creating Makefile and
src/Makefile.  Without this, gcc 4.4.2 converts each
backslash-newline pair in the input to a bare newline, yielding
invalid Makefiles.

* configure: Regenerate.

15 years ago* mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
Chong Yidong [Fri, 23 Oct 2009 16:17:17 +0000 (16:17 +0000)]
* mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
to the DEBUG file (Bug#3781).

15 years ago* textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
Chong Yidong [Fri, 23 Oct 2009 16:01:19 +0000 (16:01 +0000)]
* textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
dictionary entry (Bug#4579).

15 years ago* tramp.texi (External methods): Temporary files are kept for
Michael Albinus [Fri, 23 Oct 2009 15:10:31 +0000 (15:10 +0000)]
* tramp.texi (External methods): Temporary files are kept for
`rsync' and `rsyncc' methods.

15 years ago* net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
Michael Albinus [Fri, 23 Oct 2009 15:04:27 +0000 (15:04 +0000)]
* net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
from `rfn-eshadow-update-overlay-hook' when unloading.
(tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
"rsyncc".  Adjust doc string.
(tramp-temp-buffer-file-name) New buffer-local defvar.
(tramp-handle-insert-file-contents, tramp-handle-write-region):
Keep temporary file when indicated by method ("rsync" and
"rsyncc").
(tramp-handle-write-region): Handle APPEND.
(tramp-delete-temp-file-function): New defun.  Added to
`kill-buffer-hook'.

15 years ago* menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
Juanma Barranquero [Fri, 23 Oct 2009 08:20:11 +0000 (08:20 +0000)]
* menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.

15 years ago* bindings.el (propertized-buffer-identification): Undo previous change.
Dan Nicolaescu [Fri, 23 Oct 2009 07:29:21 +0000 (07:29 +0000)]
* bindings.el (propertized-buffer-identification): Undo previous change.

15 years ago* puresize.h (BASE_PURESIZE): Increase to 1430000.
Dan Nicolaescu [Fri, 23 Oct 2009 05:15:26 +0000 (05:15 +0000)]
* puresize.h (BASE_PURESIZE): Increase to 1430000.

* term/tty-colors.el (msdos-color-values): Remove declaration, unused.
(color-name-rgb-alist, tty-standard-colors)
(tty-color-mode-alist): Change to defconst.

* simple.el (mark-inactive): Purecopy message.

* menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
(global-map, yank-menu):
* textmodes/ispell.el (ispell-menu-map):
* net/eudc.el (eudc-tools-menu):
* international/mule-cmds.el (describe-language-environment-map)
(setup-language-environment-map, set-coding-system-map)
(mule-menu-keymap):
* vc-hooks.el (vc-menu-entry, vc-menu-map):
* replace.el (occur-mode-map):
* pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.

* bindings.el (propertized-buffer-identification): Purecopy
tooltip text.

15 years ago(math-read-number, math-read-number-simple): Use `save-match-data'.
Jay Belanger [Fri, 23 Oct 2009 01:40:13 +0000 (01:40 +0000)]
(math-read-number, math-read-number-simple): Use `save-match-data'.

15 years ago* simple.el (normal-erase-is-backspace-mode): Use input-decode-map
Stefan Monnier [Thu, 22 Oct 2009 19:31:43 +0000 (19:31 +0000)]
* simple.el (normal-erase-is-backspace-mode): Use input-decode-map
rather than fiddling with global-map bindings, since it should only
affect per-terminal settings.
See http://bugs.gentoo.org/show_bug.cgi?id=289709.

15 years ago(completion-table-with-terminator): Allow to specify the terminator-regexp.
Stefan Monnier [Thu, 22 Oct 2009 16:14:49 +0000 (16:14 +0000)]
(completion-table-with-terminator): Allow to specify the terminator-regexp.

15 years ago(switch-to-completions): Look for *Completions* in other frames as well.
Stefan Monnier [Thu, 22 Oct 2009 15:27:17 +0000 (15:27 +0000)]
(switch-to-completions): Look for *Completions* in other frames as well.

15 years agoAllow the use of completion-tables.
Stefan Monnier [Thu, 22 Oct 2009 15:17:48 +0000 (15:17 +0000)]
Allow the use of completion-tables.
(pcomplete-std-complete): New command.
(pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
(pcomplete--here): Use a function for `form' rather than an expression,
so it can be byte-compiled.
(pcomplete-here, pcomplete-here*): Adjust accordingly.
Add edebug declaration.
(pcomplete-show-completions): Remove unused var `curbuf'.
(pcomplete-do-complete, pcomplete-stub):
Don't assume `completions' is a list of strings any more.

15 years agoAdd missing bug references.
Juanma Barranquero [Thu, 22 Oct 2009 09:42:22 +0000 (09:42 +0000)]
Add missing bug references.

15 years agoAdd missing entry.
Juanma Barranquero [Thu, 22 Oct 2009 09:40:54 +0000 (09:40 +0000)]
Add missing entry.

15 years ago* find-dired.el (find-name-arg): Fix typo in docstring.
Juanma Barranquero [Thu, 22 Oct 2009 07:43:19 +0000 (07:43 +0000)]
* find-dired.el (find-name-arg): Fix typo in docstring.

15 years ago(pcomplete/kill): Don't abuse pcomplete-entries.
Stefan Monnier [Thu, 22 Oct 2009 03:35:11 +0000 (03:35 +0000)]
(pcomplete/kill): Don't abuse pcomplete-entries.
(pcmpl-linux-fs-types): Same, and update to new modules layout.

15 years ago(pcmpl-gnu-makefile-names): Use a single call to pcomplete-entries.
Stefan Monnier [Thu, 22 Oct 2009 03:25:54 +0000 (03:25 +0000)]
(pcmpl-gnu-makefile-names): Use a single call to pcomplete-entries.

15 years ago(comint-read-input-ring, comint-write-input-ring)
Stefan Monnier [Thu, 22 Oct 2009 03:24:31 +0000 (03:24 +0000)]
(comint-read-input-ring, comint-write-input-ring)
(comint-substitute-in-file-name)
(comint-dynamic-complete-as-filename)
(comint-dynamic-simple-complete)
(comint-dynamic-list-filename-completions)
(comint-dynamic-list-completions)
(comint-redirect-results-list-from-process): Minor simplifications.

15 years ago* net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
Kevin Ryde [Wed, 21 Oct 2009 22:58:58 +0000 (22:58 +0000)]
* net/dns.el: Add "Keywords: comm", as per net/net-utils.el.

15 years ago* emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): When
Kevin Ryde [Wed, 21 Oct 2009 22:06:40 +0000 (22:06 +0000)]
* emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): When
inserting ";;; Code" put it before any ";;;###autoload" cookie on
the first form.  And insert a blank line after ";;; Code" since
that's usual style.  (My Bug#4612.)

15 years ago(checkdoc-file-comments-engine): When
Kevin Ryde [Wed, 21 Oct 2009 22:05:34 +0000 (22:05 +0000)]
(checkdoc-file-comments-engine): When
inserting ";;; Code" put it before any ";;;###autoload" cookie on
the first form.  And insert a blank line after ";;; Code" since
that's usual style.  (My Bug#4612.)

15 years ago(doprnt): Fix overflow check.
Andreas Schwab [Wed, 21 Oct 2009 21:28:59 +0000 (21:28 +0000)]
(doprnt): Fix overflow check.

15 years ago* minibuffer.el (completion-table-with-terminator): Properly implement
Stefan Monnier [Wed, 21 Oct 2009 20:03:57 +0000 (20:03 +0000)]
* minibuffer.el (completion-table-with-terminator): Properly implement
boundaries, in case `terminator' appears in the suffix.
(completion--embedded-envvar-table): Don't return boundaries if
there's no valid completion.  Simplify.
(completion-file-name-table): New completion table extracted from
completion--file-name-table.
(completion--file-name-table): Use it.
(read-file-name-predicate): Declare obsolete.
(read-file-name): Use the pred arg i.s.o read-file-name-predicate.
* vc-bzr.el (vc-bzr-revision-completion-table): Use the new
completion-file-name-table, and use the `pred' argument.
* files.el (locate-file-completion-table): Use the `pred' arg rather
than read-file-name-predicate.
(abbreviate-file-name): Use \` rather than ^ for BOS.

15 years ago* xterm.c (x_term_init): Remove XSynchronize call done for debugging.
Jan Djärv [Wed, 21 Oct 2009 19:15:57 +0000 (19:15 +0000)]
* xterm.c (x_term_init): Remove XSynchronize call done for debugging.

15 years ago(vc-deduce-fileset): Undo previous change, do not tell
Dan Nicolaescu [Wed, 21 Oct 2009 19:03:32 +0000 (19:03 +0000)]
(vc-deduce-fileset): Undo previous change, do not tell
vc-responsible-backend to register, it causes problems.

15 years agoDon't require help-mode (to avoid bootstrap issues).
Stefan Monnier [Wed, 21 Oct 2009 18:54:55 +0000 (18:54 +0000)]
Don't require help-mode (to avoid bootstrap issues).

15 years agoFix resize due to font change on a maximized/xmonad-controlled frame.
Jan Djärv [Wed, 21 Oct 2009 18:29:46 +0000 (18:29 +0000)]
Fix resize due to font change on a maximized/xmonad-controlled frame.

* xterm.h (x_wait_for_event): Declare it.

* xterm.c (pending_event_wait): New variable.
(handle_one_xevent): Set pending_event_wait.eventtype to 0 if we
see pending_event_wait.eventtype.
(handle_one_xevent): Don't change gravity when parent changes.
(x_new_font): Call change_frame_size with new rows/columns before we try
to resize the frame.
(x_wait_for_event): New function.
(x_set_window_size_1): Don't change gravity unless change_gravity is set.
Call XResizeWindow with FRAME_OUTER_WINDOW.  If we are visible,
don't change frame size, instead wait for the ConfigureNotify.
(x_set_window_size): Call x_set_window_size_1 for USE_X_TOOLKIT also.
(x_wm_set_size_hint): Remove ifdefs for USE_X_TOOLKIT.
(x_initialize): Initialize pending_event_wait.

* xmenu.c (set_frame_menubar): Add internal border width to menu bar
size.

* widget.c (EmacsFrameSetValues): Add comment.
(EmacsFrameSetCharSize): Just call x_set_window_size.

* gtkutil.c (xg_frame_set_char_size): Flush events and call
x_wait_for_event.
(flush_and_sync): Removed again.
(xg_get_font_name): Suggest monospace if no previous font is known.

15 years ago* cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
Chong Yidong [Wed, 21 Oct 2009 14:04:00 +0000 (14:04 +0000)]
* cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
(semantic-c-debug-mode-init-pch): New functions.
(semantic-c-debug-mode-init-last-mode): New var.
(semantic-c-parse-lexical-token): Use them.

* cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
When extracting the argument list, limit only by point-max.

15 years ago* net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
Michael Albinus [Wed, 21 Oct 2009 11:27:59 +0000 (11:27 +0000)]
* net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
(tramp-smb-handle-file-attributes): Use it.
(tramp-smb-do-file-attributes-with-stat): Don't raise an error.
(tramp-smb-handle-insert-directory): Use `mapc' rather than
`mapcar'.  Use `tramp-smb-get-stat-capability'.  Add
`dired-filename' text properties.
(tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
(tramp-smb-maybe-open-connection): Simplify check for smbclient
version.

15 years agoFix typo.
Juanma Barranquero [Tue, 20 Oct 2009 14:03:48 +0000 (14:03 +0000)]
Fix typo.

15 years ago(char_resolve_modifier_mask): Don't resolve meta to the
Stefan Monnier [Tue, 20 Oct 2009 13:48:37 +0000 (13:48 +0000)]
(char_resolve_modifier_mask): Don't resolve meta to the
8th bit, since that only made since in the ASCII world (bug#4751).

15 years agoAdd Bug#.
YAMAMOTO Mitsuharu [Tue, 20 Oct 2009 10:21:25 +0000 (10:21 +0000)]
Add Bug#.

15 years ago(XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit
YAMAMOTO Mitsuharu [Tue, 20 Oct 2009 10:03:46 +0000 (10:03 +0000)]
(XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit
processing pending events when event is filtered for input method.

15 years agoFix typo.
Juanma Barranquero [Tue, 20 Oct 2009 08:06:02 +0000 (08:06 +0000)]
Fix typo.

15 years ago* fns.c: Add #endif accidentally removed in previous change.
Juanma Barranquero [Tue, 20 Oct 2009 07:59:57 +0000 (07:59 +0000)]
* fns.c: Add #endif accidentally removed in previous change.

15 years ago(gnus-remove-overlays): eval-and-compile.
Katsumi Yamaoka [Tue, 20 Oct 2009 05:12:15 +0000 (05:12 +0000)]
(gnus-remove-overlays): eval-and-compile.

15 years ago(read-key-delay): Reduce to 0.01.
Stefan Monnier [Tue, 20 Oct 2009 01:29:17 +0000 (01:29 +0000)]
(read-key-delay): Reduce to 0.01.
(read-key): Use read-key-sequence-vector to avoid turning M-t into 244
(bug#4751).

15 years agoSynch with Gnus trunk:
Katsumi Yamaoka [Mon, 19 Oct 2009 23:21:04 +0000 (23:21 +0000)]
Synch with Gnus trunk:
2009-10-19  Katsumi Yamaoka  <yamaoka@jpl.org>

 * gnus-sum.el (gnus-summary-show-thread): Remove useless goto-char.
 (gnus-summary-show-thread, gnus-summary-hide-thread): Indent.

2009-10-16  Katsumi Yamaoka  <yamaoka@jpl.org>

 * gnus.el (gnus-overlay-get): New alias to overlay-get.
 (gnus-overlays-in): New alias to overlays-in.

 * gnus-sum.el (gnus-remove-overlays): Use gnus-overlays-in,
 gnus-overlay-get, and gnus-delete-overlay.
 (gnus-summary-show-thread): Make it work as well for systems in which
 next-single-char-property-change is not available.
 (gnus-summary-hide-thread): Use gnus-make-overlay and gnus-overlay-put.

2009-10-14  Reiner Steib  <Reiner.Steib@gmx.de>

 * gnus-sum.el (gnus-remove-overlays): Add doc string and alias.

2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>

 * gnus-sum.el (gnus-remove-overlays): Compatibility code for Emacs 21
 and XEmacs that don't have `remove-overlays'.

2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>

 * gnus-sum.el (gnus-summary-mode, gnus-summary-show-all-threads)
 (gnus-summary-show-thread, gnus-summary-hide-thread): Get rid of
 selective display.  Use overlays instead.

15 years ago(vac-dec-vms): Remove, not supported anymore.
Dan Nicolaescu [Mon, 19 Oct 2009 22:48:52 +0000 (22:48 +0000)]
(vac-dec-vms): Remove, not supported anymore.

15 years ago* fns.c: Remove code for unsupported system: MAC_OS.
Dan Nicolaescu [Mon, 19 Oct 2009 22:33:42 +0000 (22:33 +0000)]
* fns.c: Remove code for unsupported system: MAC_OS.
* image.c: Likewise.  Include setjmp.h.

15 years ago(x_create_toolkit_scroll_bar): Don't allocate color for
Jan Djärv [Mon, 19 Oct 2009 18:08:53 +0000 (18:08 +0000)]
(x_create_toolkit_scroll_bar): Don't allocate color for
pixel -1 (bug #4742).

15 years ago* nsterm.m:
Dan Nicolaescu [Mon, 19 Oct 2009 16:58:18 +0000 (16:58 +0000)]
* nsterm.m:
* nsselect.m:
* nsmenu.m:
* nsimage.m:
* nsfont.m:
* nsfns.m: Include setjmp.h.  (Bug#4643)

15 years ago(function-key-map): Map C-@ to C-SPC if C-@ is unbound.
Stefan Monnier [Mon, 19 Oct 2009 15:03:24 +0000 (15:03 +0000)]
(function-key-map): Map C-@ to C-SPC if C-@ is unbound.

15 years ago* info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
Stefan Monnier [Mon, 19 Oct 2009 13:47:10 +0000 (13:47 +0000)]
* info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
(Info-menu): Remove unused vars `last' and `completions'.
(Info-index-nodes): Remove unused var `node'.

15 years ago(Info-complete-menu-item): Use complete-with-action.
Stefan Monnier [Mon, 19 Oct 2009 13:29:34 +0000 (13:29 +0000)]
(Info-complete-menu-item): Use complete-with-action.

15 years ago* process.c (create_pty): Remove conditionals for no longer
Dan Nicolaescu [Mon, 19 Oct 2009 05:13:31 +0000 (05:13 +0000)]
* process.c (create_pty): Remove conditionals for no longer
supported systems: UNIPLUS and RTU.

15 years ago* xterm.c:
Dan Nicolaescu [Mon, 19 Oct 2009 05:11:07 +0000 (05:11 +0000)]
* xterm.c:
* xfns.c: Remove always true condition: XtSpecificationRelease >= 5.

15 years agoMake vc-annotate work through copies and renames.
Dan Nicolaescu [Mon, 19 Oct 2009 05:04:22 +0000 (05:04 +0000)]
Make vc-annotate work through copies and renames.
* vc-annotate.el (vc-annotate-extract-revision-at-line): Return
the file name too.
(vc-annotate-revision-at-line)
(vc-annotate-find-revision-at-line)
(vc-annotate-revision-previous-to-line)
(vc-annotate-show-log-revision-at-line): Update to get the file
name from vc-annotate-extract-revision-at-line.
(vc-annotate-show-diff-revision-at-line-internal): Change the
argument to mean whether to show a file diff or not.  Get the file
name from vc-annotate-extract-revision-at-line.
(vc-annotate-show-diff-revision-at-line): Update
vc-annotate-show-diff-revision-at-line call.
(vc-annotate-warp-revision): Add an optional file argument.

* vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
(vc-git-annotate-extract-revision-at-line): Also return the file
name if found.

* vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
command.  Remove unused code.
(vc-hg-annotate-re): Update to match --follow output.
(vc-hg-annotate-extract-revision-at-line): Also return the file
name if found.

* vc.el: Update annotate-extract-revision-at-line documentation.

15 years ago* alloc.c: Do not define struct catchtag.
Dan Nicolaescu [Mon, 19 Oct 2009 04:27:09 +0000 (04:27 +0000)]
* alloc.c: Do not define struct catchtag.
* eval.c: Move struct catchtag definition ...
* lisp.h: ... here.

* image.c: Move png.h #include earlier to avoid warnings.

* xterm.c:
* xsmfns.c:
* xselect.c:
* xrdb.c:
* xmenu.c:
* xftfont.c:
* xfont.c:
* xfns.c:
* xfaces.c:
* xdisp.c:
* window.c:
* widget.c:
* w32xfns.c:
* w32uniscribe.c:
* w32term.c:
* w32select.c:
* w32reg.c:
* w32proc.c:
* w32menu.c:
* w32inevt.c:
* w32heap.c:
* w32font.c:
* w32fns.c:
* w32console.c:
* w32.c:
* w16select.c:
* vm-limit.c:
* unexsol.c:
* unexec.c:
* unexcw.c:
* unexaix.c:
* undo.c:
* tparam.c:
* textprop.c:
* terminfo.c:
* terminal.c:
* termcap.c:
* term.c:
* syntax.c:
* sound.c:
* sheap.c:
* search.c:
* scroll.c:
* region-cache.c:
* regex.c:
* ralloc.c:
* process.c:
* print.c:
* msdos.c:
* minibuf.c:
* menu.c:
* marker.c:
* macros.c:
* keymap.c:
* keyboard.c:
* intervals.c:
* insdel.c:
* indent.c:
* gtkutil.c:
* ftxfont.c:
* ftfont.c:
* fringe.c:
* frame.c:
* fontset.c:
* font.c:
* fns.c:
* floatfns.c:
* filelock.c:
* fileio.c:
* emacs.c:
* editfns.c:
* dosfns.c:
* doprnt.c:
* doc.c:
* dispnew.c:
* dired.c:
* dbusbind.c:
* data.c:
* composite.c:
* coding.c:
* cmds.c:
* cm.c:
* chartab.c:
* charset.c:
* character.c:
* ccl.c:
* category.c:
* casetab.c:
* casefiddle.c:
* callproc.c:
* callint.c:
* bytecode.c:
* buffer.c:
* atimer.c: Include setjmp.h.  (Bug#4643)

* xlwmenu.c:
* lwlib.c:
* lwlib-utils.c:
* lwlib-Xm.c:
* lwlib-Xlw.c:
* lwlib-Xaw.c: Include setjmp.h.

15 years ago* net/browse-url.el (browse-url): Identify alist with "consp and
Kevin Ryde [Sun, 18 Oct 2009 23:56:07 +0000 (23:56 +0000)]
* net/browse-url.el (browse-url): Identify alist with "consp and
not functionp" and let all other things go down the `apply' leg,
as suggested by Stefan.  (Further to bug#4531.)

15 years ago(browse-url): Identify alist with "consp and
Kevin Ryde [Sun, 18 Oct 2009 23:55:16 +0000 (23:55 +0000)]
(browse-url): Identify alist with "consp and
not functionp" and let all other things go down the `apply' leg,
as suggested by Stefan.  (Further to bug#4531.)

15 years ago* ibuffer.el (ibuffer-confirm-operation-on): Correction to error
Kevin Ryde [Sun, 18 Oct 2009 23:12:02 +0000 (23:12 +0000)]
* ibuffer.el (ibuffer-confirm-operation-on): Correction to error
re-throw, `err' is a pair not a list so can't use apply (Bug#4740).

15 years ago(ibuffer-confirm-operation-on): Correction to error
Kevin Ryde [Sun, 18 Oct 2009 23:11:14 +0000 (23:11 +0000)]
(ibuffer-confirm-operation-on): Correction to error
re-throw, `err' is a pair not a list so can't use apply (Bug#4740).

15 years ago* minibuffer.el (read-file-name): Check for repeat before putting
Chong Yidong [Sun, 18 Oct 2009 22:25:36 +0000 (22:25 +0000)]
* minibuffer.el (read-file-name): Check for repeat before putting
a default argument in file-name-history (Bug#4657).

* emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
read syntax (Bug#4737).

* textmodes/sgml-mode.el (sgml-delete-tag): Use
sgml-looking-back-at.

15 years agoWhitespace.
Juanma Barranquero [Sun, 18 Oct 2009 19:47:38 +0000 (19:47 +0000)]
Whitespace.

15 years ago* textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
Chong Yidong [Sun, 18 Oct 2009 04:06:32 +0000 (04:06 +0000)]
* textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
(html-tag-alist, html-tag-help): Add descriptions for undocumented
entries and make note of obsolete tags.

15 years agoRemove leftover table unibyte_to_multibyte_table.
Stefan Monnier [Sun, 18 Oct 2009 03:08:32 +0000 (03:08 +0000)]
Remove leftover table unibyte_to_multibyte_table.
* character.c (unibyte_to_multibyte_table): Remove.
(Funibyte_char_to_multibyte): Use MAKE_CHAR_MULTIBYTE.
* charset.c (init_charset_once): Don't init unibyte_to_multibyte_table.
* character.h (UNIBYTE_TO_CHAR): New macro.
(MAKE_CHAR_MULTIBYTE): Use it.
(unibyte_to_multibyte_table, unibyte_char_to_multibyte): Remove.
* xdisp.c (get_next_display_element): USE ASCII_CHAR_P.
(message_dolog, set_message_1):
* search.c (Freplace_match):
* editfns.c (Fcompare_buffer_substrings):
* fns.c (Fcompare_strings): Use MAKE_CHAR_MULTIBYTE.
(concat):
* insdel.c (copy_text, count_size_as_multibyte):
Use ASCII_CHAR_P and BYTE8_TO_CHAR.
* term.c (produce_glyphs):
* syntax.c (skip_chars): Use BYTE8_TO_CHAR.
* regex.c (RE_CHAR_TO_MULTIBYTE):
* cmds.c (internal_self_insert):
* buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use UNIBYTE_TO_CHAR.

15 years agoI spell gud.
Glenn Morris [Sun, 18 Oct 2009 02:17:57 +0000 (02:17 +0000)]
I spell gud.

15 years ago(internal_self_insert): `c' is already in "multibyte" form.
Stefan Monnier [Sun, 18 Oct 2009 02:08:52 +0000 (02:08 +0000)]
(internal_self_insert): `c' is already in "multibyte" form.

15 years ago(ange-ftp-file-size): Use unwind-protect.
Stefan Monnier [Sun, 18 Oct 2009 00:46:49 +0000 (00:46 +0000)]
(ange-ftp-file-size): Use unwind-protect.

15 years ago(compile-last): Ensure GREP_OPTIONS is null before calling
Glenn Morris [Sun, 18 Oct 2009 00:34:47 +0000 (00:34 +0000)]
(compile-last): Ensure GREP_OPTIONS is null before calling
grep, so that binary files (eg international/uni-bidi.el) can match.
Remove test for "UnicodeData" files, since it is hopefully unnecesary
now, and in any case the file header format has changed.

15 years ago(flyspell-large-region, flyspell-word)
Glenn Morris [Sat, 17 Oct 2009 22:43:13 +0000 (22:43 +0000)]
(flyspell-large-region, flyspell-word)
(flyspell-get-word, flyspell-large-region)
(flyspell-auto-correct-previous-word): Doc/error message fixes.

15 years ago* Makefile.in (ELCFILES): Add ede/shell.
Chong Yidong [Sat, 17 Oct 2009 14:28:44 +0000 (14:28 +0000)]
* Makefile.in (ELCFILES): Add ede/shell.

15 years ago* puresize.h (BASE_PURESIZE): Increase to 1310000.
Dan Nicolaescu [Sat, 17 Oct 2009 07:13:44 +0000 (07:13 +0000)]
* puresize.h (BASE_PURESIZE): Increase to 1310000.

* term/common-win.el (x-colors): Purecopy it.

15 years ago(tar-data-swapped-p): Make the assertion a bit more
Stefan Monnier [Sat, 17 Oct 2009 04:36:11 +0000 (04:36 +0000)]
(tar-data-swapped-p): Make the assertion a bit more
permissive for when the buffer is empty.
(tar-header-block-tokenize): Decode the username and groupname.
(tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).

15 years ago* cedet/srecode/srt.el:
Chong Yidong [Sat, 17 Oct 2009 04:18:31 +0000 (04:18 +0000)]
* cedet/srecode/srt.el:
* cedet/srecode/compile.el:
* cedet/semantic/mru-bookmark.el:
* cedet/semantic/debug.el:
* cedet/semantic/complete.el:
* cedet/semantic/analyze.el: Require CL when compiling.

* cedet/semantic/scope.el
(semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
tmpscope so that the regular scope will continue to work.

* cedet/semantic/idle.el (semantic-idle-tag-highlight): Use
semantic-idle-summary-highlight-face as the highlighting.

* emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
contains multibyte characters, choose first applicable coding
system automatically.

* cedet/ede/project-am.el (project-run-target): New method.
(project-run-target): New method.

* cedet/ede.el (ede-target): Add run target menu item.
(ede-project, ede-minor-keymap): Add ede-run-target binding.
(ede-run-target): New function.
(ede-target::project-run-target): New method.

* cedet/ede/proj.el (project-run-target): New method.

* cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
(ede-g++-libtool-shared-compiler): Remove SHELL.  Remove COMMANDS.
Add :rules.
(ede-proj-target-makefile-shared-object): Only libtool compilers
now available.  Add linkers for libtool.
(ede-cc-linker-libtool, ede-g++-linker-libtool): New.
(ede-proj-makefile-target-name): Always use .la extension.

* cedet/ede/proj-prog.el (project-run-target): New method.

* cedet/ede/proj-obj.el (ede-cc-linker): Rename from
ede-gcc-linker.
(ede-g++-linker): Change Change link lines.

* cedet/ede/pmake.el (ede-pmake-insert-variable-shared): When
searching for old variables, go to the end of the buffer and
search backward from there.
(ede-proj-makefile-automake-insert-subdirs)
(ede-proj-makefile-automake-insert-extradist): New methods.
(ede-proj-makefile-create): Use them.

* cedet/ede/pconf.el (ede-proj-configure-test-required-file):
Force FILE to expand to the current target.  Use file-exists-p to
check that it exists.

* cedet/ede/linux.el (ede-linux-version): Don't call "head".
(ede-linux-load): Wrap dir in file-name-as-directory.  Set
:version slot.

* cedet/ede/files.el (ede-get-locator-object): When enabling
locate, do so on "top".

* cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
file-name-as-directory during compare.
(ede-emacs-version): Return Emacs/XEmacs differentiator.  Get
version number from different places.  Don't call egrep.
(ede-emacs-load): Set :version slot.  Call file-name-as-directory
to set the directory.

* cedet/ede/shell.el: New file.

* cedet/inversion.el (inversion-decoders): Allow for stray . in
alpha/beta variants.

15 years ago(select-safe-coding-system): If the file
Stefan Monnier [Sat, 17 Oct 2009 03:59:45 +0000 (03:59 +0000)]
(select-safe-coding-system): If the file
has a coding cookie, use it regardless of any other setting (bug#4712).

15 years ago(semantic-grammar--lex-delim-spec): All errors should have messages.
Glenn Morris [Sat, 17 Oct 2009 03:16:38 +0000 (03:16 +0000)]
(semantic-grammar--lex-delim-spec): All errors should have messages.

15 years ago(foldout-mouse-swallow-events): Replace obsolete form of sit-for.
Glenn Morris [Sat, 17 Oct 2009 03:15:53 +0000 (03:15 +0000)]
(foldout-mouse-swallow-events): Replace obsolete form of sit-for.

15 years ago(gs-load-image): Replace obsolete forms of sit-for, sleep-for.
Glenn Morris [Sat, 17 Oct 2009 03:15:13 +0000 (03:15 +0000)]
(gs-load-image): Replace obsolete forms of sit-for, sleep-for.

15 years ago(dired-ls-F-marks-symlinks, dired-keep-marker-rename)
Glenn Morris [Sat, 17 Oct 2009 03:13:51 +0000 (03:13 +0000)]
(dired-ls-F-marks-symlinks, dired-keep-marker-rename)
(dired-keep-marker-copy, dired-keep-marker-hardlink)
(dired-keep-marker-symlink, dired-dwim-target)
(dired-copy-preserve-time): Do not autoload these defcustoms.

15 years ago(rmail-write-region-annotate): Prevent viewing different
Glenn Morris [Sat, 17 Oct 2009 03:11:54 +0000 (03:11 +0000)]
(rmail-write-region-annotate): Prevent viewing different
messages from messing up the file coding.  (Bug#4623)

15 years agoJari Aalto <jari.aalto at cante.net>
Glenn Morris [Sat, 17 Oct 2009 03:10:10 +0000 (03:10 +0000)]
Jari Aalto  <jari.aalto at cante.net>

(flyspell-get-word): Make `following' argument optional, since that is
how it is documented, and this is often called with a nil argument.  (Bug#4577)
(flyspell-external-point-words, flyspell-auto-correct-word)
(flyspell-correct-word-before-point, flyspell-word-search-forward)
(flyspell-word-search-backward): Remove nil argument in calls to
flyspell-get-word, since it is not needed now.

15 years agoJari Aalto <jari.aalto at cante.net>
Glenn Morris [Sat, 17 Oct 2009 03:09:25 +0000 (03:09 +0000)]
Jari Aalto  <jari.aalto at cante.net>

(ispell-get-decoded-string): Give an error if no match is found for
the current dictionary.  (Bug#4578)

15 years agoUlrich Mueller <ulm at gentoo.org>
Glenn Morris [Sat, 17 Oct 2009 03:08:56 +0000 (03:08 +0000)]
Ulrich Mueller  <ulm at gentoo.org>

(doctor-adverbp): Exclude some nouns. (Bug#4565)

15 years ago* buffer.c (Fbuffer_name): Doc fix. (Bug#4728)
Juanma Barranquero [Sat, 17 Oct 2009 02:35:35 +0000 (02:35 +0000)]
* buffer.c (Fbuffer_name): Doc fix.  (Bug#4728)