Chong Yidong
bc6494efe3
* simple.el (line-move): Use forward-line if in batch mode.
...
Fixes: debbugs:11053
2012-04-18 15:00:52 +08:00
Christopher Schmidt
c09c46b263
Fix require-final-newline interaction with read-only buffers.
...
* lisp/files.el (after-find-file): Do not try to add a final newline
if the buffer is read-only.
Fixes: debbugs:11156
2012-04-18 14:24:13 +08:00
Richard M. Stallman
5f6530ea79
Fix logic for returning to and yanking from Rmail buffer.
2012-04-17 19:23:20 -04:00
Paul Eggert
aba027e80c
* dired.c (Fsystem_groups): Remove unused local.
2012-04-17 15:56:06 -07:00
Juanma Barranquero
197b6f3c60
lisp/server.el (server-ensure-safe-dir): Simplify.
2012-04-17 19:05:22 +02:00
Glenn Morris
d96a4f8829
Auto-commit of loaddefs files.
2012-04-17 06:21:15 -04:00
Glenn Morris
d1721cc7c2
Auto-commit of generated files.
2012-04-17 06:17:40 -04:00
Glenn Morris
25a9a140fa
NEWS placeholder
2012-04-16 20:08:05 -07:00
Glenn Morris
2311d8e5a6
Merge from pending; try to fix-up suboptimal ses ChangeLog.
2012-04-16 20:06:56 -07:00
Peter Oliver
fc72b15c77
Add perl-indent-parens-as-block option (tiny change)
...
* lisp/progmodes/perl-mode.el (perl-indent-parens-as-block): New option.
(perl-calculate-indent): Respect it.
Fixes: debbugs:11118
2012-04-16 19:46:22 -07:00
Glenn Morris
12e10e61a5
* lisp/dired-aux.el (dired-mark-read-string): Doc fix.
2012-04-16 21:52:00 -04:00
Dmitry Antipov
30009afd5b
Add user, group name completion to dired
...
Note from committer:
I modified the original patch, by adding the new collection argument
at the end of the argument list rather than in the middle.
* dired-aux.el (dired-mark-read-string): Offer optional completion.
(dired-do-chxxx): Complete chown, chgrp over users, groups.
Fixes: debbugs:7900
2012-04-16 21:49:40 -04:00
Glenn Morris
e5a3606344
* src/dired.c (Fsystem_users): Doc fix.
...
* etc/NEWS: Mention system-users, system-groups.
2012-04-16 21:35:15 -04:00
Dmitry Antipov
316411f0f2
Add functions to get system user names, group names
...
Note from committer:
I removed the part that adds grp.h to AC_CHECK_HEADERS and
+#ifdef HAVE_GRP_H
#include <grp.h>
+#endif
to src/dired.c, because the latter has unconditionally included grp.h
since 2003, and uses it eg in stat_gname.
* configure.in (AC_CHECK_FUNCS): Add getpwent, endpwent, getgrent, endgrent.
* src/dired.c (Fsystem_users, Fsystem_groups): New functions.
(syms_of_dired): Add them.
Fixes: debbugs:7900
2012-04-16 21:29:58 -04:00
Glenn Morris
41f03f4da7
Use auto-hscroll-mode rather than the alias automatic-hscrolling
...
* lisp/mouse.el (mouse-drag-track):
* lisp/speedbar.el (speedbar-frame-mode):
Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2012-04-16 20:04:53 -04:00
Glenn Morris
121b8917ec
Replace independent implementations of string-prefix-p
...
* vc/vc.el (vc-string-prefix-p):
* vc/pcvs-util.el (cvs-string-prefix-p):
* textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
* mpc.el (mpc-string-prefix-p):
Make all of these into obsolete aliases for string-prefix-p.
Update callers.
* vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2012-04-16 19:57:09 -04:00
Glenn Morris
f53a85a90a
Fix thinko in previous yow.el change
2012-04-16 19:07:19 -04:00
Glenn Morris
1197ecfa84
two-column.el small cleanup
...
* lisp/textmodes/two-column.el: Move custom options to the start.
(frame-width): Remove compat definition.
(2C-associate-buffer, 2C-dissociate):
Use with-current-buffer rather than save-excursion.
(2C-dissociate): Force a mode-line update.
(2C-autoscroll): Use ignore-errors.
2012-04-16 16:13:38 -04:00
Leo Liu
f45f90f331
* lisp/progmodes/python.el: Trivial cleanup.
2012-04-17 03:28:57 +08:00
Glenn Morris
099e72021d
* eieio-opt.el (describe-class, describe-generic): Autoload trivia.
2012-04-16 15:25:59 -04:00
Glenn Morris
9d217643e0
ChangeLog fix
2012-04-16 15:22:32 -04:00
Glenn Morris
389c3aa7b2
Header comment trivial fix
2012-04-16 15:21:32 -04:00
Glenn Morris
bf350d6a59
* lisp/emacs-lisp/cl-extra.el (*random-state*): Remove unnecessary declaration.
2012-04-16 15:20:42 -04:00
Glenn Morris
0e829eabcd
* lisp/calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2012-04-16 15:18:36 -04:00
Glenn Morris
b1aa797c7a
* configure.in (NS_HAVE_NSINTEGER): Remove unnecessary variable.
2012-04-16 15:13:44 -04:00
Glenn Morris
5261b92ebe
* lisp/gnus/nndraft.el (nndraft-request-list): Fix declaration.
2012-04-16 15:09:19 -04:00
Glenn Morris
175c5e4861
Fix comment typo
2012-04-16 15:06:02 -04:00
Glenn Morris
e3ad7552db
* cookie1.el (cookie-snarf): Explicit error if input file cannot be read.
2012-04-16 15:04:27 -04:00
Glenn Morris
68892d275b
* lisp/play/yow.el (yow-file): Use expand-file-name rather than concat.
...
Remove old comment.
2012-04-16 15:02:59 -04:00
Glenn Morris
20f0c46dcd
* lisp/progmodes/perl-mode.el (c-macro-expand): Remove unnecessary autoload
...
(it is in loaddefs.el).
2012-04-16 15:01:30 -04:00
Glenn Morris
5a0978ce61
picture.el small cleanup
...
* lisp/textmodes/picture.el (picture-desired-column)
(picture-update-desired-column): Convert comments to doc-strings.
(picture-substitute): Remove function.
(picture-mode-map): Initialize in the defvar.
2012-04-16 14:53:06 -04:00
Glenn Morris
5934c3782f
Set lisp/vc/vc-hg.el maintainer to FSF.
...
Ref: http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-03/msg00325.html
2012-04-16 14:48:46 -04:00
Glenn Morris
6b955486f5
Replace a use of eval-after-load
...
* lisp/woman.el: Remove eval-after-load for tar-mode.
* lisp/tar-mode.el (tar-mode-map): Add woman binding and menu entry.
(woman-tar-extract-file): Autoload it.
2012-04-16 14:46:46 -04:00
Glenn Morris
94ee8db5e0
* lisp/frame.el (automatic-hscrolling): Make this alias obsolete.
2012-04-16 14:41:38 -04:00
Glenn Morris
9b9b2ef28d
* configure.in: Remove X libs workaround for old autoconf.
2012-04-16 14:32:59 -04:00
Agustín Martín
3851314bd4
(ispell-dictionary-base-alist): Revert to original XEmacs friendly default value.
...
Having [:alpha:] here is no longer needed. If possible [:alpha:] will be
set in `ispell-set-spellchecker-params' (and will always be for Emacs).
2012-04-16 19:32:02 +02:00
Agustín Martín
4be3075ec8
ispell.el: Fix last Changelog entry. utf-8 will be enabled if possible.
2012-04-16 19:06:58 +02:00
Agustín Martín
177eca34cb
ispell.el (ispell-set-spellchecker-params): Make dicts use [:alpha:] if
...
possible.
If Emacs flavour supports [:alpha:] regexps, use it for Casechars
and Not-Casechars. This currently means use it unless flavour is
XEmacs.
Fixes: debbugs:11200
2012-04-16 11:49:51 +02:00
Paul Eggert
4b5afbb0d9
* alloc.c: Remove one incorrect comment and fix another.
2012-04-15 23:39:21 -07:00
Chong Yidong
c505aaeb00
Call imagemagick-register-types automatically.
...
* lisp/image.el (imagemagick--extension-regexp): New variable.
(imagemagick-register-types): Use it.
(imagemagick-types-inhibit): Add :set function. Allow new value
of t to inhibit all types.
* lisp/loadup.el (fboundp): Preload regexp-opt, needed by
imagemagick-register-types.
* lisp/emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
so we can preload it.
2012-04-16 11:47:43 +08:00
Paul Eggert
b62a57beb5
Fix minor alloc.c problems found by static checking.
...
* alloc.c (_malloc_internal, _free_internal) [!DOUG_LEA_MALLOC]:
New extern decls, to avoid calling undeclared functions.
(dont_register_blocks): Define if ((!SYSTEM_MALLOC && !SYNC_INPUT)
&& GC_MALLOC_CHECK), not if ((GC_MARK_STACK || defined
GC_MALLOC_CHECK) && GC_MALLOC_CHECK), to match when it's used.
(NEED_MEM_INSERT): New macro.
(mem_insert, mem_insert_fixup) [!NEED_MEM_INSERT]: Remove; unused.
2012-04-15 20:38:40 -07:00
Paul Eggert
3539f31f03
Fix minor ralloc.c problems found by static checking.
...
See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html
* ralloc.c (ALIGNED, ROUND_TO_PAGE, HEAP_PTR_SIZE)
(r_alloc_size_in_use, r_alloc_freeze, r_alloc_thaw): Remove; unused.
(r_alloc_sbrk): Now static.
2012-04-15 18:18:13 -07:00
Paul Eggert
a041960a7c
Improve ralloc.c interface checking.
...
See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html
* buffer.c (ralloc_reset_variable, r_alloc, r_re_alloc)
(r_alloc_free) [REL_ALLOC]: Move decls from here ...
* lisp.h (r_alloc, r_alloc_free, r_re_alloc, r_alloc_reset_variable)
[REL_ALLOC]: ... to here, to check interface.
* m/ia64.h (r_alloc, r_alloc_free) [REL_ALLOC && !_MALLOC_INTERNAL]:
Remove decls. This fixes an "It stinks!".
2012-04-15 18:10:42 -07:00
Paul Eggert
15142f2797
Assume less-ancient POSIX support.
...
* update-game-score.c: Include <getopt.h> rather than rolling our
own decls for optarg, optind, opterr. See
<http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html >.
2012-04-15 17:41:01 -07:00
Paul Eggert
9426aba403
* alloc.c (which_symbols): Fix alignment issue / type clash.
2012-04-15 17:33:25 -07:00
Andreas Schwab
d55c12ed1f
Simplify enforcement of object address alignment
...
* lisp.h (struct Lisp_Symbol): Remove explicit padding.
(struct Lisp_Misc_Any): Likewise.
(struct Lisp_Free): Likewise.
* alloc.c (union aligned_Lisp_Symbol): Define.
(SYMBOL_BLOCK_SIZE, struct symbol_block): Use union
aligned_Lisp_Symbol instead of struct Lisp_Symbol.
(union aligned_Lisp_Misc): Define.
(MARKER_BLOCK_SIZE, struct marker_block): Use union
aligned_Lisp_Misc instead of union Lisp_Misc.
(Fmake_symbol, allocate_misc, gc_sweep): Adjust
2012-04-15 18:20:54 +02:00
Chong Yidong
7a76850c20
lisp/frame.el: Minor rearrangement.
2012-04-15 23:15:00 +08:00
Chong Yidong
60efac0fc5
* lisp/frame.el (scrolling): Remove nearly unused customization group.
...
* lisp/scroll-all.el (scroll-all-mode): Move to windows group.
2012-04-15 23:11:06 +08:00
Chong Yidong
5dd1713eeb
* bindings.el (goto-map): Bind goto-char to M-g c.
...
Fixes: debbugs:11240
2012-04-15 17:16:50 +08:00
Chong Yidong
e6fd457e01
Merge from emacs-24 branch
2012-04-15 15:28:01 +08:00