Commit graph

92335 commits

Author SHA1 Message Date
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
Juanma Barranquero
f3ed9aca28 * subr.el (error, sit-for, start-process-shell-command)
(start-file-process-shell-command): Set the calling convention
  after the function definition.
2009-10-16 05:03:56 +00:00
Juanma Barranquero
6e4780c5ad *** empty log message *** 2009-10-16 04:32:23 +00:00
Stefan Monnier
fd6c51348d (error, sit-for, start-process-shell-command)
(start-file-process-shell-command): Use the new
set-advertised-calling-convention feature.
2009-10-16 03:21:18 +00:00
Adrian Robert
ba8d1a2c37 Don't set LIB_STANDARD and START_FILES under __Apple__. 2009-10-16 03:12:35 +00:00
Adrian Robert
a0cd8f6b6c * nsterm.h (NS_HAVE_NSINTEGER): Back out and augment with CGFloat,
still needed under Tiger.

    * nsterm.m (EmacsView-conversationIdentifier): Arg is long.

    * m/amdx86-64.h: Don't set LIB_STANDARD and START_FILES under
    __Apple__.

    * m/intel386.h: Remove DARWIN_OS/_LP64 special case.
2009-10-16 03:09:48 +00:00
Adrian Robert
39b8097fe9 Remove DARWIN_OS/_LP64 special case. 2009-10-16 03:09:09 +00:00
Adrian Robert
5cca5bf08f (NS_HAVE_NSINTEGER): Back out and augment with CGFloat, still needed under Tiger. 2009-10-16 03:09:06 +00:00
Adrian Robert
ca515f00ea (EmacsView-conversationIdentifier): Arg is long. 2009-10-16 03:09:02 +00:00
Adrian Robert
f5b30dc9b6 (NS_HAVE_NSINTEGER): Back out previous change. (*-apple-darwin*): Add x86_64 architecture. 2009-10-16 03:08:41 +00:00
Chong Yidong
2640fa86da * variables.texi (Constant Variables): Distinguish from defconst
variables.
(Defining Variables): Add cindex.
2009-10-16 02:20:29 +00:00
Kenichi Handa
73874eb74c (ucs-normalize-version): Changed to 1.2.
(check-range): Adjusted for Unicode 5.2.
2009-10-16 00:48:52 +00:00
Juri Linkov
03fb33cf75 (menu-bar-file-menu): Convert `separator-exit'
to the `menu-item' format.
2009-10-15 22:23:11 +00:00
Chong Yidong
edd6a7338f * os.texi (Time of Day): Clarify that the microsecond part is
ignored (Bug#4637).
2009-10-15 20:44:36 +00:00
Michael Albinus
4260b4027e * net/tramp-smb.el (tramp-smb-errors): Add error messages.
(tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
parameter.
(tramp-smb-handle-add-name-to-file)
(tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
(tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
(tramp-smb-handle-file-attributes)
(tramp-smb-do-file-attributes-with-stat)
(tramp-smb-handle-file-local-copy)
(tramp-smb-handle-insert-directory)
(tramp-smb-handle-make-directory)
(tramp-smb-handle-make-directory-internal)
(tramp-smb-handle-make-symbolic-link)
(tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
(tramp-smb-handle-write-region, tramp-smb-get-file-entries)
(tramp-smb-maybe-open-connection): Apply the changed parameters.
(tramp-smb-read-file-entry): Read Disk names in compressed format.
Handle long file names.
(tramp-smb-get-cifs-capabilities): Check, whether the connection
process is running.
(tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
Read share names with "-g" option.
2009-10-15 13:17:19 +00:00
Michael Albinus
ec5145d684 * net/tramp.el (tramp-replace-environment-variables): Do not fail
if the environment variable does not exist.
2009-10-15 13:15:16 +00:00