Glenn Morris
e9246b20af
* lisp/calendar/diary-lib.el: Comment fix.
2011-06-25 15:33:29 -07:00
Glenn Morris
f6ba4cc9d8
Avoid some code duplication in diary-lib.el.
...
* lisp/calendar/diary-lib.el (diary-included-files): Doc fix.
(diary-include-files): New function, extracted from
diary-include-other-diary-files and diary-mark-included-diary-files.
(diary-include-other-diary-files, diary-mark-included-diary-files):
Just call diary-include-files.
(diary-mark-entries): Reset diary-included-files on first call.
2011-06-25 15:22:47 -07:00
Glenn Morris
1671230453
When marking, visit included diary-files in temp buffers.
...
Ref: bug#8920, but not a bug.
* lisp/calendar/diary-lib.el (diary-mark-entries)
(diary-mark-included-diary-files):
Visit included diary-files in temp buffers.
2011-06-25 15:10:21 -07:00
Glenn Morris
1a5db1f412
* lisp/progmodes/f90.el (f90-procedures-re): Add F2008 "is_contiguous".
2011-06-25 14:28:24 -07:00
Glenn Morris
5d8e0d43b0
Add submodule support to f90.el.
...
* lisp/progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
(f90-blocks-re, f90-program-block-re, f90-end-block-re)
(f90-start-block-re, f90-imenu-generic-expression)
(f90-looking-at-program-block-start, f90-no-block-limit):
Add support for submodules.
2011-06-25 14:21:45 -07:00
Glenn Morris
5b66d427c0
ChangeLog fix.
2011-06-25 13:53:24 -07:00
Glenn Morris
eefff499d7
Add missing ChangeLog for previous commit.
2011-06-25 13:51:40 -07:00
Glenn Morris
898265597c
Add some F2008 keywords to f90.el font-locking.
...
* lisp/progmodes/f90.el (f90-keywords-re, f90-procedures-re)
(f90-constants-re): Add some F2008 stuff.
2011-06-25 13:49:56 -07:00
Glenn Morris
a150502ad8
* lib-src/emacsclient.c (print_help_and_exit): More fixing of previous.
2011-06-25 12:52:34 -07:00
Glenn Morris
5f9388d04e
* lib-src/emacsclient.c (print_help_and_exit): Fix previous change.
2011-06-25 12:33:07 -07:00
Paul Eggert
948b98fd3c
Merge from trunk.
2011-06-25 11:31:36 -07:00
Glenn Morris
11fdef7d0c
Merge from emacs-23; up to 2010-06-15T03:34:12Z!rgm@gnu.org.
2011-06-25 11:21:00 -07:00
Glenn Morris
3794a2d3a4
Minor additions for previous emacsclient change.
...
* lib-src/emacsclient.c (decode_options) <opt>: Add `F:'.
(print_help_and_exit): Mention --frame-parameters.
2011-06-25 11:13:14 -07:00
Juanma Barranquero
74f5369749
Simplify unloading functions after 2011-06-25T17:42:18Z!lekktu@gmail.com.
...
* allout.el (allout-unload-function): Pass -1 to `allout-mode'.
* proced.el (proced-unload-function):
* progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
* ses.el (ses-unload-function):
* emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
2011-06-25 20:08:41 +02:00
Andreas Rottmann
18a4ce5ea1
Allow emacsclient to set parameters of new graphical frames (bug#5864)
...
* lib-src/emacsclient.c (longopts, decode_options, main): Add frame-parameters.
* lisp/server.el (server-create-window-system-frame): Add parameters arg.
(server-process-filter): Doc fix. Handle frame-parameters.
* doc/emacs/misc.texi (emacsclient Options): Mention --frame-parameters.
* doc/man/emacsclient.1: Mention --frame-parameters.
* etc/NEWS: Mention this.
2011-06-25 11:05:48 -07:00
Glenn Morris
919bbce05b
emacs-buildstatus means reports of build failures are unlikely to be needed.
2011-06-25 10:51:03 -07:00
Juanma Barranquero
519d22cc0e
* loadhist.el (unload--set-major-mode): New function.
...
(unload-feature): Use it.
* progmodes/python.el (python-after-info-look): Add autoload cookie.
(python-unload-function): New function.
Fixes: debbugs:8781 debbugs:8730
2011-06-25 19:42:18 +02:00
Stefan Monnier
c206f5b0f7
* lisp/mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
2011-06-25 09:38:32 -04:00
Giuseppe Scrivano
f9ad64f3c1
Add icecat to the firefox candidates list.
2011-06-25 11:31:24 +02:00
Paul Eggert
7a7ef42918
Use gnulib's dup2 module instead of rolling our own.
...
* Makefile.in (GNULIB_MODULES): Add dup2.
* configure.in: Do not check for dup2; gnulib does that now.
* lib/dup2.c, m4/dup2.m4: New files, from gnulib.
* src/sysdep.c (dup2) [!HAVE_DUP2]: Remove; gnulib now does this.
2011-06-25 01:40:38 -07:00
Juanma Barranquero
cd3520a41d
Move DEFSYM to lisp.h and use everywhere.
2011-06-24 23:25:22 +02:00
Juanma Barranquero
7d0da90e7b
lisp/progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
2011-06-24 14:13:35 +02:00
Ted Zlatanov
4228cf16fb
* gnutls.c (syms_of_gnutls): Use the DEFSYM macro from character.h.
2011-06-24 05:29:19 -05:00
Katsumi Yamaoka
74e8193b79
auth-source.el (auth-source-netrc-cache): Move forward.
2011-06-23 23:17:26 +00:00
Richard M. Stallman
14b4e83d62
Going to grep hit in Rmail buffer finds the message.
2011-06-23 13:08:15 -04:00
Richard M. Stallman
8050daa1d0
Work with changes in mail-bury.
2011-06-23 13:03:59 -04:00
Stefan Monnier
273d2baf9b
* lisp/emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
...
messages for adjacent non-terminals.
2011-06-23 12:55:59 -04:00
Richard M. Stallman
f444564c73
Marking message as "seen" should not mark buffer as changed.
2011-06-23 12:38:40 -04:00
Richard M. Stallman
56c2cc9a95
Don't reuse previous Message-id when resending.
2011-06-23 12:33:05 -04:00
Michael Albinus
d59eb51849
* net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
...
SIZE is a number.
2011-06-23 15:03:04 +02:00
Glenn Morris
4fc2b746f7
Auto-commit of generated files.
2011-06-23 06:18:34 -04:00
Martin Rudalics
02cfc6d6fc
Fix display-buffer related bugs reported by Thierry Volpiatto.
...
* window.el (get-lru-window, get-mru-window)
(get-largest-window): Never return a minibuffer window.
(display-buffer-pop-up-window): Fix a bug that could lead to
reusing the minibuffer window.
(display-buffer): Pass original specifier argument to
display-buffer-function instead of the normalized one.
Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2011-06-23 10:58:45 +02:00
Paul Eggert
6dd7e40073
* lib/getopt.c, lib/stat.c, m4/gl-comp.m4: Merge from gnulib.
2011-06-23 01:10:57 -07:00
Paul Eggert
7efb4e0e62
Merge from trunk.
2011-06-23 00:37:31 -07:00
Paul Eggert
ff5844ad0b
* print.c (printchar, strout): Check for string overflow.
...
(PRINTPREPARE, printchar, strout):
Don't set size unless allocation succeeds.
2011-06-23 00:33:28 -07:00
Paul Eggert
90532f02fd
* minibuf.c (read_minibuf_noninteractive): Use ptrdiff_t, not int,
...
for sizes. Check for string overflow more accurately.
Simplify newline removal at end; this suppresses a GCC 4.6.0 warning.
2011-06-22 23:45:38 -07:00
Paul Eggert
6d84508d18
* macros.c: Integer and buffer overflow fixes.
...
* keyboard.h (struct keyboard.kbd_macro_bufsize):
* macros.c (Fstart_kbd_macro, store_kbd_macro_char):
Use ptrdiff_t, not int, for sizes.
Don't increment bufsize until after realloc succeeds.
Check for size-calculation overflow.
(Fstart_kbd_macro): Use EMACS_INT, not int, for XINT result.
2011-06-22 23:31:41 -07:00
Paul Eggert
20270765be
* lread.c (read1): Check for size overflow.
2011-06-22 22:41:40 -07:00
Paul Eggert
437b2cb453
* lisp.h (DEFVAR_KBOARD): Use offsetof instead of char * finagling.
2011-06-22 22:35:51 -07:00
Paul Eggert
82cb60d3ff
* lread.c (read_escape): Avoid int overflow.
...
(Fload, openp, read_buffer_size, read1)
(substitute_object_recurse, read_vector, read_list, map_obarray):
Use ptrdiff_t, not int, for sizes.
(read1): Use EMACS_INT, not int, for sizes.
2011-06-22 22:34:52 -07:00
Leo Liu
4e3232657c
Move completing-read-function and completing-read-default to elisp
2011-06-23 11:35:05 +08:00
Paul Eggert
8b9ac8b4a2
* lread.c: Integer overflow fixes.
...
(read_integer): Radix is now EMACS_INT, not int,
to improve quality of diagnostics for out-of-range radices.
Calculate buffer size correctly for out-of-range radices.
(read1): Check for integer overflow in radices, and in
read-circle numbers.
2011-06-22 17:55:55 -07:00
Paul Eggert
7fcccf1efe
* image.c (cache_image): Check for size arithmetic overflow.
2011-06-22 17:46:41 -07:00
Lars Magne Ingebrigtsen
5c62d13346
Fix typo in last check-in.
2011-06-23 02:18:46 +02:00
Lars Magne Ingebrigtsen
c4db078bfd
Clean up the ssl/tls support to be able to use the built-in support, too.
2011-06-23 02:17:41 +02:00
Lars Magne Ingebrigtsen
b534ed407e
nnimap.el (nnimap-open-connection-1): Fix indentation.
2011-06-23 00:00:38 +00:00
Richard M. Stallman
50718fc219
Make mail exit more nicely when Rmail is in use.
2011-06-22 19:39:29 -04:00
Richard M. Stallman
7a70468fb1
Fix bug: Rmail f copied the entire Rmail file into *mail*.
2011-06-22 19:35:21 -04:00
Paul Eggert
39019e5425
* lread.c (read_escape): Check for hex character overflow.
2011-06-22 15:39:06 -07:00
Paul Eggert
bfbbd7e752
* lread.c: Integer overflow issues.
...
(saved_doc_string_size, saved_doc_string_length)
(prev_saved_doc_string_size, prev_saved_doc_string_length):
Now ptrdiff_t, not int.
(read1): Don't assume doc string length fits in int. Check for
out-of-range doc string lengths.
(read_list): Don't assume file position fits in int.
2011-06-22 15:36:19 -07:00