1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

110883 Commits

Author SHA1 Message Date
Leo Liu
150194c32f * progmodes/octave.el (octave-smie-forward-token): Fix typo. 2013-05-07 12:53:31 +08:00
Stefan Monnier
ceb57e5997 * lisp/progmodes/octave.el (octave-smie-forward-token): Be more careful
about implicit semi-colons.

Fixes: debbugs:14218
2013-05-07 00:05:43 -04:00
YAMAMOTO Mitsuharu
4e3f92301d Add multi-monitor support on X11. 2013-05-07 10:12:22 +09:00
Katsumi Yamaoka
af69a478c0 gnus-art.el (gnus-article-describe-bindings): Require help-mode because of let-binding help-xref-followin (Bug#14356) 2013-05-07 00:28:12 +00:00
Leo Liu
203a557223 * progmodes/octave.el (octave-syntax-propertize-function): Change
\'s syntax to escape when inside double-quoted strings. 
(octave-font-lock-keywords): Use octave-operator-regexp.
(octave-completion-at-point): Renamed from
octave-completion-at-point-function.
(inferior-octave-directory-tracker): Robustify.
(octave-text-functions): Remove and fix its uses.  No such things
any more.

Fixes: debbugs:14332
2013-05-07 07:46:07 +08:00
Tassilo Horn
06a73f4edb lisp/gnus/message.el (message-bury, message-send-and-exit): Revert 2013-05-04 change 2013-05-06 22:39:36 +00:00
Stefan Monnier
ee6cff9923 * lisp/emacs-lisp/trace.el (trace--display-buffer): New function.
(trace-make-advice): Use it.
2013-05-06 18:33:24 -04:00
Juri Linkov
32985194f2 * lisp/emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.
(eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1): Doc fix.
(emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
in the help string.  (Bug#12985)

Fixes: debbugs:14344
2013-05-06 23:23:40 +03:00
Kelly Dean
a1c700dec5 * lisp/simple.el (shell-command-on-region): Doc fix.
Fixes: debbugs:14279
2013-05-06 23:11:40 +03:00
Glenn Morris
9698b18ff9 * doc/emacs/trouble.texi (Contributing): Remove obsolete info re pretesters. 2013-05-06 15:34:40 -04:00
Stefan Monnier
323885fd82 * lisp/progmodes/perl-mode.el: Add support for here documents.
(perl-syntax-propertize-function): Match here-doc markers.
(perl-syntax-propertize-special-constructs): Find their end.
(perl-imenu-generic-expression): Use [:alnum:].
2013-05-06 15:33:56 -04:00
Eli Zaretskii
05839b6aff Fix bug #14241 with posn-at-point at the beginning of an image display prop.
src/xdisp.c (pos_visible_p): Use the special code for finding the
 beginning of a display property or overlay for any "replacing"
 display property, not just for display strings.  This solves
 incorrect reporting of position by posn-at-point.
2013-05-06 20:11:07 +03:00
Glenn Morris
e65500d969 * lisp/find-file.el (cc-other-file-alist): Bump :version. 2013-05-06 08:46:31 -07:00
Stefan Monnier
c67c08396a * lisp/emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
(advice--add-function): Refresh the advice if already present.

Fixes: debbugs:14317
2013-05-06 11:27:11 -04:00
Paul Eggert
7a6018ad21 Merge from gnulib.
This incorporates:
2013-04-30 utimens, utimensat: work around Solaris UTIME_OMIT bug
2013-05-06 06:37:42 -07:00
Ivan Andrus
d491e7a83f * lisp/find-file.el (cc-other-file-alist): Add ".m" for ObjC.
Fixes: debbugs:14339
2013-05-06 00:40:58 -07:00
Glenn Morris
7cc3af27a1 * lisp/w32-fns.el (w32-charset-info-alist): Declare. 2013-05-06 00:29:26 -07:00
Glenn Morris
16e343d686 * lisp/eshell/em-cmpl.el: Simply require pcomplete;
eg we use a bunch of its defcustom properties.
(eshell-cmpl-initialize): No need to load pcomplete.
2013-05-06 00:20:35 -07:00
Glenn Morris
7d889a47ec * lisp/generic-x.el: No need to require comint when compiling. 2013-05-06 00:18:36 -07:00
Glenn Morris
7b92bf9813 * lisp/gnus/mml2015.el (mml2015-epg-sign): Add name="signature.asc".
Fixes: debbugs:13465
2013-05-06 00:16:34 -07:00
Glenn Morris
ddf9925e26 * net/eudc-export.el: Make it loadable without bbdb.
(top-level): Use require rather than load-library.
(eudc-create-bbdb-record, eudc-bbdbify-phone)
(eudc-batch-export-records-to-bbdb)
(eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
Require bbdb.
2013-05-06 00:14:03 -07:00
Glenn Morris
a8899b6b3a More missing :version tags for defcustoms 2013-05-06 00:10:31 -07:00
Paul Eggert
5ee94506f6 * unexelf.c: Fix some 32-bit integer problems, notably when debugging.
Include <limits.h>, <stdbool.h>, <intprops.h>, <verify.h>.
Verify that ElfW (Half) fits in int.
(fatal): Use same signature as lisp.h.
(UNEXELF_DEBUG): New macro, replacing DEBUG, so that people can
configure and build with -DUNEXELF_DEBUG without worrying about
other modules that use DEBUG.
(DEBUG_LOG) [UNEXELF_DEBUG]: New macro.  All debug code that prints
possibly-wide integers now uses it instead of plain fprintf.
(entry_address): New function, which avoids problems with 32-bit
overflow on 64-bit hosts.
(OLD_SECTION_H, NEW_SECTION_H, NEW_PROGRAM_H): Use it.
(round_up): Don't assume the remainder fits in int.
(find_section): Use bool for boolean.  Simplify debug code.
(unexec): Don't assume file sizes fit in int or size_t.
Omit unnecessary trailing newline in 'fatal' format.
Use strerror rather than outputting decimal error number.
Remove unused code when emacs is not defined;
this file relies on Emacs now.
Don't assume e_phnum and e_shnum are positive.
2013-05-05 21:52:00 -07:00
Paul Eggert
dc4a2ee0ef * regex.c: Fix problems when DEBUG is defined.
(extract_number, extract_number_and_incr): Define regardless of
whether DEBUG is defined; that's simpler and makes the code less
likely to go stale in the normal case when DEBUG is not defined.
Return int rather than taking an int * arg.  All callers changed.
(DEBUG_PRINT1, DEBUG_PRINT2, DEBUG_PRINT3, DEBUG_PRINT4):
Remove, replacing with ...
(DEBUG_PRINT): New macro.  All callers changed.
(DEBUG_COMPILES_ARGUMENTS): New macro.
(print_fastmap, print_partial_compiled_pattern) [DEBUG]:
(print_compiled_pattern, print_double_string) [DEBUG]:
Use prototype rather than old-style definition.
(print_partial_compiled_pattern, print_compiled_pattern) [DEBUG]:
(ENSURE_FAIL_STACK, PUSH_FAILURE_REG) [DEBUG]:
(POP_FAILURE_REG_OR_COUNT, PUSH_FAILURE_POINT) [DEBUG]:
(POP_FAILURE_POINT, re_match_2_internal) [DEBUG]:
Don't assume ptrdiff_t, size_t, and long are the same width as int.
(POINTER_TO_OFFSET): Return ptrdiff_t, not regoff_t.
This matters only when DEBUG is defined.
2013-05-05 21:31:16 -07:00
Paul Eggert
8c13f3d628 * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo,
by removing references to no-longer-existing locals.
2013-05-05 20:32:19 -07:00
Stefan Monnier
1e2c18dfbd * lisp/progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
(octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
some tweaks, instead.
2013-05-05 22:29:42 -04:00
Eli Zaretskii
14c7ed056d Fix bug #14306 with whitespace mode together with linum-mode.
src/xdisp.c (set_iterator_to_next): Set the
 ignore_overlay_strings_at_pos_p flag only if we are _really_
 iterating over an overlay string, as indicated by the
 current.overlay_string_index member.
2013-05-05 20:41:09 +03:00
Leo Liu
02502a5fd2 * progmodes/octave.el (octave-font-lock-keywords)
(octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
(inferior-octave-send-list-and-digest): Improve error message.
(octave-mode, inferior-octave-mode): Use setq-local.
(octave-help): Set info-lookup-mode.
2013-05-05 23:29:51 +08:00
Jan Djärv
e6076b1bce * nsmenu.m (ns_update_menubar): Move initialization of submenuTitle
to where it is used, to avoid autorelease issues.

Fixes: debbugs:14050
2013-05-05 17:16:06 +02:00
Richard M. Stallman
6c54491c95 * vc/compare-w.el (compare-windows-whitespace):
Treat no-break space as whitespace.
2013-05-05 10:10:51 -04:00
Richard M. Stallman
df8f35df4a * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
Doc fixes, rename args.
2013-05-05 10:08:50 -04:00
Richard M. Stallman
0dc04f4210 Don't let an empty summary change current message.
* mail/rmailsum.el (rmail-summary-rmail-update):
	Detect empty summary and don't change selected message.
	(rmail-summary-goto-msg): Likewise.
2013-05-05 09:56:54 -04:00
Alan Mackenzie
5356e1a3d9 * progmodes/cc-defs.el (c-version): Increment to 5.32.5. 2013-05-05 12:17:12 +00:00
Juri Linkov
d44014cb5d * lisp/info.el (Info-read-subfile): Use (point-min) instead of (point)
to not add the length of the summary segment to the return value.

Fixes: debbugs:14125
2013-05-05 11:48:44 +03:00
Paul Eggert
a37d34f3b4 Spelling fixes (or remove unnecessary and unusually-spelled words). 2013-05-04 22:03:08 -07:00
Leo Liu
c129b51f4b * progmodes/octave.el (inferior-octave-strip-ctrl-g)
(inferior-octave-output-filter): Remove.
(octave-send-region, inferior-octave-startup): Fix callers.
(inferior-octave-mode-map): Don't use comint-dynamic-complete.
(octave-binary-file-extensions): New user variable.
(octave-find-definition): Confirm if opening binary files.
(octave-help-file): Use octave-find-definition to get the binary
confirmation.
(octave-help): Adjust for octave-help-file change.
2013-05-05 12:49:27 +08:00
Glenn Morris
f8780a0574 Fix NEWS typo 2013-05-04 19:29:28 -07:00
Stefan Monnier
aa7dab9754 * lisp/progmodes/pascal.el (pascal--syntax-propertize): New const.
(pascal-mode): Use it.  Use setq-local.
(pascal-font-lock-keywords): Use backquotes.
Merge the two entries that handle function definitions.
* test/indent/pascal.pas: Add test for mis-identified comments.
2013-05-04 22:26:38 -04:00
Paul Eggert
cbee213171 `write-region-inhibit-fsync' defaults to noninteractive.
* cmdargs.texi (Initial Options):
* files.texi (Customize Save): Document this.
* etc/NEWS: Document this.
* src/fileio.c (syms_of_fileio): Implement this.
* src/filelock.c (create_lock_file): If symbolic links don't work, so
we use a regular file as a lock file, do not fsync the lock file;
it's not needed.

Fixes: debbugs:14273
2013-05-04 17:51:49 -07:00
Glenn Morris
fd3a9a6b37 * lisp/calendar/diary-lib.el (diary-from-outlook-function): New variable.
(diary-from-outlook): Respect diary-from-outlook-function.

* doc/emacs/calendar.texi (Importing Diary):
Mention diary-from-outlook-function.

* etc/NEWS: Mention this.
2013-05-04 16:55:57 -07:00
Andrew Cohen
f4c7b20fc1 gnus-sum.el (gnus-read-header): Ensure groups are prefixed when entering into the registry 2013-05-04 22:38:05 +00:00
Stefan Monnier
0a6313f7e3 * doc/misc/cl.texi (Obsolete Macros): Describe replacements for `flet'.
Fixes: debbugs:14293
2013-05-04 15:49:23 -04:00
Thierry Volpiatto
998768afd2 * lisp/gnus/message.el (message-bury): Make `buffer' optional.
(message-send-and-exit): Don't pass `buf' so as to hide the buffer.

Fixes: debbugs:14085
2013-05-04 15:34:19 -04:00
Stefan Monnier
30c7e54299 * lisp/simple.el (read-expression-map): Use completion-at-point.
Move the declaration from C.
(read-minibuffer, eval-minibuffer): Move from C.
(completion-setup-function): Avoid minibuffer-completion-contents.
* src/minibuf.c (Fread_minibuffer, Feval_minibuffer): Move to Elisp.
(syms_of_minibuf): Adjust accodingly.
* src/lread.c (Fread):
* src/callint.c (Fcall_interactively): Adjust calls accordingly.

Fixes: debbugs:14255
2013-05-04 15:27:41 -04:00
Eli Zaretskii
5bebd1866b Fix bug #14062 with assertion violations on MS-Windows.
src/dispextern.h (WINDOW_WANTS_HEADER_LINE_P): Verify that
 w->contents is a buffer before computing everything else.  Use
 parentheses to disambiguate last part of the condition.
 src/w32fns.c (w32_wnd_proc): Remove temporary code used to trap
 assertion violations.
2013-05-04 13:19:13 +03:00
Leo Liu
d74a158186 * progmodes/octave.el (user-error): Alias to error if not defined. 2013-05-03 15:52:17 +08:00
Leo Liu
d4d0f9b31a * progmodes/octave.el (octave-completing-read)
(octave-goto-function-definition): New helpers.
(octave-help-buffer): New user variable.
(octave-help-file, octave-help-function): New button types.
(octave-help): New command and bind it to C-h ;.
(octave-find-definition): New command and bind it to M-.
2013-05-03 15:22:26 +08:00
Leo Liu
b54f978b83 * progmodes/octave.el (octave-font-lock-keywords): Do not
dehighlight 'end' in comments or strings.
2013-05-03 12:47:08 +08:00
Leo Liu
271350180c * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
for \. 
(octave-font-lock-keywords): Include [ and {.

Fixes: debbugs:14332
2013-05-03 07:03:00 +08:00
Leo Liu
0d634d3a3c * progmodes/octave.el (inferior-octave-startup-file): Change default.
(inferior-octave): Remove calling comint-mode and return the buffer.
(inferior-octave-startup): Cosmetic changes.
2013-05-03 05:34:53 +08:00