1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

92350 Commits

Author SHA1 Message Date
Juanma Barranquero
1233852a80 Fix typo. 2009-10-20 08:06:02 +00:00
Juanma Barranquero
2629aa37b3 * fns.c: Add #endif accidentally removed in previous change. 2009-10-20 07:59:57 +00:00
Katsumi Yamaoka
6131a09605 (gnus-remove-overlays): eval-and-compile. 2009-10-20 05:12:15 +00:00
Stefan Monnier
79bd5ba156 (read-key-delay): Reduce to 0.01.
(read-key): Use read-key-sequence-vector to avoid turning M-t into 244
(bug#4751).
2009-10-20 01:29:17 +00:00
Katsumi Yamaoka
9bfd9a76b6 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.
2009-10-19 23:21:04 +00:00
Dan Nicolaescu
d760435bc9 (vac-dec-vms): Remove, not supported anymore. 2009-10-19 22:48:52 +00:00
Dan Nicolaescu
c3417a7441 * fns.c: Remove code for unsupported system: MAC_OS.
* image.c: Likewise.  Include setjmp.h.
2009-10-19 22:33:42 +00:00
Jan Djärv
9685cef2dd (x_create_toolkit_scroll_bar): Don't allocate color for
pixel -1 (bug #4742).
2009-10-19 18:08:53 +00:00
Dan Nicolaescu
b024548b44 * nsterm.m:
* nsselect.m:
* nsmenu.m:
* nsimage.m:
* nsfont.m:
* nsfns.m: Include setjmp.h.  (Bug#4643)
2009-10-19 16:58:18 +00:00
Stefan Monnier
554efd1017 (function-key-map): Map C-@ to C-SPC if C-@ is unbound. 2009-10-19 15:03:24 +00:00
Stefan Monnier
c2a37b782e * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
(Info-menu): Remove unused vars `last' and `completions'.
(Info-index-nodes): Remove unused var `node'.
2009-10-19 13:47:10 +00:00
Stefan Monnier
3c13704df6 (Info-complete-menu-item): Use complete-with-action. 2009-10-19 13:29:34 +00:00
Dan Nicolaescu
019d2c4c58 * process.c (create_pty): Remove conditionals for no longer
supported systems: UNIPLUS and RTU.
2009-10-19 05:13:31 +00:00
Dan Nicolaescu
ee6bacd40d * xterm.c:
* xfns.c: Remove always true condition: XtSpecificationRelease >= 5.
2009-10-19 05:11:07 +00:00
Dan Nicolaescu
d1e4c4037e 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.
2009-10-19 05:04:22 +00:00
Dan Nicolaescu
d7306fe6b1 * 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.
2009-10-19 04:27:09 +00:00
Kevin Ryde
a9e7f03da3 * 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.)
2009-10-18 23:56:07 +00:00
Kevin Ryde
9c16fc9540 (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.)
2009-10-18 23:55:16 +00:00
Kevin Ryde
b0b0ef98fb * 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).
2009-10-18 23:12:02 +00:00
Kevin Ryde
8131c345df (ibuffer-confirm-operation-on): Correction to error
re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
2009-10-18 23:11:14 +00:00
Chong Yidong
7346a407f4 * 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.
2009-10-18 22:25:36 +00:00
Juanma Barranquero
6873acca85 Whitespace. 2009-10-18 19:47:38 +00:00
Chong Yidong
1da9454195 * 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.
2009-10-18 04:06:32 +00:00
Stefan Monnier
4c0354d71b 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.
2009-10-18 03:08:32 +00:00
Glenn Morris
e5f035d75e I spell gud. 2009-10-18 02:17:57 +00:00
Stefan Monnier
fd5f21e665 (internal_self_insert): `c' is already in "multibyte" form. 2009-10-18 02:08:52 +00:00
Stefan Monnier
2b93080a46 (ange-ftp-file-size): Use unwind-protect. 2009-10-18 00:46:49 +00:00
Glenn Morris
18b5ffb503 (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.
2009-10-18 00:34:47 +00:00
Glenn Morris
c2e161b23c (flyspell-large-region, flyspell-word)
(flyspell-get-word, flyspell-large-region)
(flyspell-auto-correct-previous-word): Doc/error message fixes.
2009-10-17 22:43:13 +00:00
Chong Yidong
a1eb44f5b1 * Makefile.in (ELCFILES): Add ede/shell. 2009-10-17 14:28:44 +00:00
Dan Nicolaescu
4418646e99 * puresize.h (BASE_PURESIZE): Increase to 1310000.
* term/common-win.el (x-colors): Purecopy it.
2009-10-17 07:13:44 +00:00
Stefan Monnier
4062011e2f (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).
2009-10-17 04:36:11 +00:00
Chong Yidong
67d3ffe498 * 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.
2009-10-17 04:18:31 +00:00
Stefan Monnier
2df48a8729 (select-safe-coding-system): If the file
has a coding cookie, use it regardless of any other setting (bug#4712).
2009-10-17 03:59:45 +00:00
Glenn Morris
547776f9b0 (semantic-grammar--lex-delim-spec): All errors should have messages. 2009-10-17 03:16:38 +00:00
Glenn Morris
3ee0b4774b (foldout-mouse-swallow-events): Replace obsolete form of sit-for. 2009-10-17 03:15:53 +00:00
Glenn Morris
cec0514440 (gs-load-image): Replace obsolete forms of sit-for, sleep-for. 2009-10-17 03:15:13 +00:00
Glenn Morris
2550e4b143 (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.
2009-10-17 03:13:51 +00:00
Glenn Morris
fd7dd48c19 (rmail-write-region-annotate): Prevent viewing different
messages from messing up the file coding.  (Bug#4623)
2009-10-17 03:11:54 +00:00
Glenn Morris
f3e3a990e7 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.
2009-10-17 03:10:10 +00:00
Glenn Morris
a567af5842 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)
2009-10-17 03:09:25 +00:00
Glenn Morris
f8ad49508a Ulrich Mueller <ulm at gentoo.org>
(doctor-adverbp): Exclude some nouns.	(Bug#4565)
2009-10-17 03:08:56 +00:00
Juanma Barranquero
35f5c1d28f * buffer.c (Fbuffer_name): Doc fix. (Bug#4728) 2009-10-17 02:35:35 +00:00
Kevin Ryde
ebe479ecec (Magic File Names): Add @vindex file-name-handler-alist,
in particular so `info-lookup-symbol' can find its docs.
2009-10-16 23:33:46 +00:00
Eli Zaretskii
5d8adb2c20 (x_produce_glyphs): Fix typos in comments. 2009-10-16 19:01:21 +00:00
Glenn Morris
b61374aba3 (rcirc-authenticate): Simplify previous change. 2009-10-16 16:03:33 +00:00
Stefan Monnier
412707c2e9 (ange-ftp-send-cmd): Handle size' like mdtm'.
(ange-ftp-file-size): New function.
(ange-ftp-file-attributes): Use it.
2009-10-16 15:20:51 +00:00
Michael Albinus
0c6f436e84 * net/tramp-smb.el (tramp-smb-version): New defvar.
(tramp-smb-maybe-open-connection): Use it, in order to avoid
repeated checks.
2009-10-16 14:36:13 +00:00
Glenn Morris
0dc7af67d5 whitespace. 2009-10-16 06:50:00 +00:00
Glenn Morris
850bfd0444 (define-obsolete-variable-alias): Doc fix.
Maybe copy some custom properties from old to new name.  (Bug#4706)
2009-10-16 06:48:24 +00:00