1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00
Commit Graph

104920 Commits

Author SHA1 Message Date
Paul Eggert
f7752e6738 Merge from trunk. 2012-04-15 18:12:46 -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
8dcd9adf66 Merge from trunk. 2012-04-15 17:35:58 -07:00
Paul Eggert
9426aba403 * alloc.c (which_symbols): Fix alignment issue / type clash. 2012-04-15 17:33:25 -07:00
Paul Eggert
20a14f94f6 Merge from trunk. 2012-04-15 16:55:52 -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
Chong Yidong
467a33d09f * doc/emacs/misc.texi (emacsclient Options): More clarifications. 2012-04-15 15:21:23 +08:00
Juanma Barranquero
75f1671a52 Fix ChangeLog typos. 2012-04-15 04:59:30 +02:00
Glenn Morris
12acf78334 More small edits for doc/lispref/processes.texi
* doc/lispref/processes.texi (Asynchronous Processes, Deleting Processes):
Copyedits.
(Asynchronous Processes): Update some example output.
2012-04-14 18:58:41 -07:00
Glenn Morris
e153c13643 Doc and manual fixes related to processes
* doc/lispref/processes.texi (Processes, Subprocess Creation, Shell Arguments):
(Synchronous Processes): Copyedits.
(Subprocess Creation): Discourage modifying exec-path directly.
(Synchronous Processes): Update some example output.
(Process Information): Fix typo.
(Bindat Spec): Use Texinfo-recommended form of quote+punctuation.

* lisp/simple.el (process-file-side-effects): Doc fix.
2012-04-14 18:37:16 -07:00
Glenn Morris
764a3017e2 doc/lispref/anti.texi small edits
* doc/lispref/anti.texi (Antinews): Copyedits.  Don't @dfn anything here.
open-network-stream does exist in Emacs 23, but is simpler.

* admin/FOR-RELEASE: Related markup.
2012-04-14 13:43:11 -07:00
Glenn Morris
41be52d7fb * doc/emacs/msdog.texi (Windows Printing): It doesn't set printer-name.
* admin/FOR-RELEASE: Related edit.

Ref http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00402.html
2012-04-14 13:24:45 -07:00
Glenn Morris
faab108e4f Remove outdated sentence from doc/emacs/mule.texi.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00403.html
2012-04-14 12:33:33 -07:00
Glenn Morris
05806f43de More small edits for doc/emacs/mule.texi
* doc/emacs/mule.texi (Language Environments): Move font info to "Fontsets".
(Fontsets): Move intlfonts etc here from "Language Environments".
Copyedits.
(Defining Fontsets, Modifying Fontsets, Undisplayable Characters)
(Unibyte Mode, Charsets, Bidirectional Editing): Copyedits.

* admin/FOR-RELEASE: Related markup.
2012-04-14 12:20:25 -07:00
Glenn Morris
ca7d96c81a * lisp/international/mule-cmds.el (set-language-environment): Doc fix. 2012-04-14 11:14:01 -07:00
Paul Eggert
899b41b6e3 Merge from trunk. 2012-04-14 11:11:27 -07:00
Glenn Morris
3c80ae807c Comment. 2012-04-14 10:53:52 -07:00
Juanma Barranquero
3603c3b1c5 * lisp/server.el: Doc fixes.
(server-auth-key, server-generate-key): Doc fixes.
  (server-get-auth-key): Doc fix.  Use `string-match-p'.
  (server-start): Reflow docstring.
2012-04-14 14:58:29 +02:00
Stefan Monnier
9c2d6a4ab2 Avoid the use of ((lambda ...) ...) in lexical-binding code.
* emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall.

Fixes: debbugs:11241
2012-04-14 08:48:27 -04:00
Lars Ingebrigtsen
e6de100c5e (server-generate-key): `called-interactively-p' requires a parameter. 2012-04-14 13:36:26 +02:00
Michal Nazarewicz
29734c2156 Allow using `server-auth-key' to set a permanent shared key
* server.el (server-auth-key): New variable.
(server-generate-key): New function.
(server-get-auth-key): New function.
(server-start): Use the new variable and functions to allow
setting a permanent server key.

Fixes: debbugs:9423
2012-04-14 13:16:17 +02:00
Chong Yidong
0be641c057 * doc/emacs/glossary.texi (Glossary): Standardize on "text terminal" terminology.
All callers changed.
2012-04-14 16:25:06 +08:00
Paul Eggert
3078ffdd45 Merge from trunk. 2012-04-13 23:38:33 -07:00
Leo Liu
d65c95210d * lisp/vc/diff-mode.el (diff-file-prev/next): Fix typo. 2012-04-14 14:28:57 +08:00
Paul Eggert
b948ce8b02 Make GC_MAKE_GCPROS_NOOPS the default (Bug#9926).
* lisp.h (GC_MARK_STACK): Default to GC_MAKE_GCPROS_NOOPS.
* s/cygwin.h, s/darwin.h, s/freebsd.h, s/gnu.h, s/irix6-5.h, s/msdos.h:
* s/netbsd.h, s/sol2-6.h:
Remove definition of GC_MARK_STACK, since the default now works.
* s/aix4-2.h, s/hpux10-20.h, s/unixware.h:
Define GC_MARK_STACK to GC_USE_GCPROS_AS_BEFORE, since that's
no longer the default.
* s/gnu-linux.h (GC_MARK_STACK): Adjust to change in default.
2012-04-13 23:18:49 -07:00
Paul Eggert
3bace81626 Merge from trunk. 2012-04-13 22:16:02 -07:00
Paul Eggert
5ae255c7e9 Spelling fixes.
* lisp/hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
Emacs uses American spelling.
2012-04-13 22:10:55 -07:00
Paul Eggert
ec041b5587 configure: new option --enable-gcc-warnings (Bug#11207)
* sed1v2.inp, sed3v2.inp, sedlibmk.inp: GNULIB_WARN_CFLAGS,
WARN_CFLAGS, and WERROR_CFLAGS replace C_WARNINGS_SWITCH.
2012-04-13 22:04:54 -07:00
Chong Yidong
6a00f3808a * doc/emacs/misc.texi (emacsclient Options): Document "client frame" concept
and its effect on C-x C-c more carefully.
2012-04-14 12:48:50 +08:00
Paul Eggert
bdf35b6a6a Merge from trunk. 2012-04-13 21:37:44 -07:00
Juanma Barranquero
d5e6342ed5 * lisp/emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
(emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
  (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
  (emacs-lock--kill-buffer-query-functions): Run new hook.

Fixes: debbugs:11017
2012-04-14 05:11:18 +02:00
Glenn Morris
870e8fb8db doc/emacs trivia
* doc/emacs/frames.texi (Scroll Bars):
* doc/emacs/glossary.texi (Glossary):
Use consistent case for "X Window System".
2012-04-13 19:42:22 -07:00
Glenn Morris
71cd7772e5 More small edits for doc/emacs/mule.texi
* doc/emacs/mule.texi (Select Input Method, Coding Systems):
State command names in kbd tables.
(Recognize Coding): Add cross-ref.
(Output Coding): Don't mention message mode in particular.
(Text Coding, Communication Coding, File Name Coding, Terminal Coding):
Copyedits.
2012-04-13 19:40:49 -07:00
Stefan Monnier
ab036cd7bd * lisp/progmodes/which-func.el (which-func-modes): Change default. 2012-04-13 22:31:50 -04:00
Glenn Morris
1e103a7cd8 Remove unnecessary @setfilename commands from many doc/lispref/*.texi 2012-04-13 18:59:01 -07:00
Glenn Morris
35dc09a19c Merge from emacs-24, up to 2012-04-10T02:06:19Z!larsi@gnus.org 2012-04-13 18:46:06 -07:00
Glenn Morris
327732d994 Changed defcustoms should get :version bumps 2012-04-13 18:33:08 -07:00
Vivek Dasmohapatra
b472a59444 * hexl.el (hexl-insert-char): Make display sizes other than 16 work. 2012-04-14 00:31:23 +02:00
Masatake YAMATO
09b95ce39b Make `C-M-f' and friends work better when prompting for file names
* minibuffer.el (minibuffer-local-filename-syntax): New variable
to allow `C-M-f' and `C-M-b' to move to the nearest path
separator.
2012-04-13 23:43:03 +02:00
Lars Ingebrigtsen
4b63a9ca3d avoid.el compiliation fixups
* avoid.el: Require cl when compiling.  And also move the
`provide' to the end.
2012-04-13 23:17:38 +02:00
Thierry Volpiatto
0f84437ba2 Allow further `mouse-avoidance-mode' customisations
* avoid.el (mouse-avoidance-banish-position): New variable.
(mouse-avoidance-banish-destination): Use it.
2012-04-13 23:15:22 +02:00
Thierry Volpiatto
7b55b8bf5a Allow further `mouse-avoid-mode' customisations
* avoid.el (mouse-avoidance-banish-position): New variable.
(mouse-avoidance-banish-destination): Use it.
2012-04-13 23:12:48 +02:00
Atsuo Ohki
ad3a2b411d * lread.c (lisp_file_lexically_bound_p): Fix hang at ";-*-\n".
Fixes: debbugs:11238
2012-04-13 14:08:18 -04:00
Leo Liu
adedaa1fa6 * lisp/progmodes/which-func.el (which-func-modes): Add objc-mode. 2012-04-13 23:19:58 +08:00
Ken Brown
70e74021ee Adapt browse-url.el to improvements in Cygwin's cygstart utility.
* lisp/net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
this is no longer needed now that cygstart understands file://
URLs.
(browse-url-filename-alist): For the same reason, don't modify
file:// URLs on Cygwin.
2012-04-13 11:15:42 -04:00