]> code.delx.au - gnu-emacs/log
gnu-emacs
12 years agoMerge from trunk.
Paul Eggert [Mon, 16 Apr 2012 01:12:46 +0000 (18:12 -0700)]
Merge from trunk.

12 years agoImprove ralloc.c interface checking.
Paul Eggert [Mon, 16 Apr 2012 01:10:42 +0000 (18:10 -0700)]
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!".

12 years agoAssume less-ancient POSIX support.
Paul Eggert [Mon, 16 Apr 2012 00:41:01 +0000 (17:41 -0700)]
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>.

12 years agoMerge from trunk.
Paul Eggert [Mon, 16 Apr 2012 00:35:58 +0000 (17:35 -0700)]
Merge from trunk.

12 years ago* alloc.c (which_symbols): Fix alignment issue / type clash.
Paul Eggert [Mon, 16 Apr 2012 00:33:25 +0000 (17:33 -0700)]
* alloc.c (which_symbols): Fix alignment issue / type clash.

12 years agoMerge from trunk.
Paul Eggert [Sun, 15 Apr 2012 23:55:52 +0000 (16:55 -0700)]
Merge from trunk.

12 years agoSimplify enforcement of object address alignment
Andreas Schwab [Sun, 15 Apr 2012 16:20:54 +0000 (18:20 +0200)]
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

12 years agolisp/frame.el: Minor rearrangement.
Chong Yidong [Sun, 15 Apr 2012 15:15:00 +0000 (23:15 +0800)]
lisp/frame.el: Minor rearrangement.

12 years ago* lisp/frame.el (scrolling): Remove nearly unused customization group.
Chong Yidong [Sun, 15 Apr 2012 15:11:06 +0000 (23:11 +0800)]
* lisp/frame.el (scrolling): Remove nearly unused customization group.

* lisp/scroll-all.el (scroll-all-mode): Move to windows group.

12 years ago* bindings.el (goto-map): Bind goto-char to M-g c.
Chong Yidong [Sun, 15 Apr 2012 09:16:50 +0000 (17:16 +0800)]
* bindings.el (goto-map): Bind goto-char to M-g c.

Fixes: debbugs:11240
12 years agoMerge from emacs-24 branch
Chong Yidong [Sun, 15 Apr 2012 07:28:01 +0000 (15:28 +0800)]
Merge from emacs-24 branch

12 years ago* doc/emacs/misc.texi (emacsclient Options): More clarifications.
Chong Yidong [Sun, 15 Apr 2012 07:21:23 +0000 (15:21 +0800)]
* doc/emacs/misc.texi (emacsclient Options): More clarifications.

12 years agoFix ChangeLog typos.
Juanma Barranquero [Sun, 15 Apr 2012 02:59:30 +0000 (04:59 +0200)]
Fix ChangeLog typos.

12 years agoMore small edits for doc/lispref/processes.texi
Glenn Morris [Sun, 15 Apr 2012 01:58:41 +0000 (18:58 -0700)]
More small edits for doc/lispref/processes.texi

* doc/lispref/processes.texi (Asynchronous Processes, Deleting Processes):
Copyedits.
(Asynchronous Processes): Update some example output.

12 years agoDoc and manual fixes related to processes
Glenn Morris [Sun, 15 Apr 2012 01:37:16 +0000 (18:37 -0700)]
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.

12 years agodoc/lispref/anti.texi small edits
Glenn Morris [Sat, 14 Apr 2012 20:43:11 +0000 (13:43 -0700)]
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.

12 years ago* doc/emacs/msdog.texi (Windows Printing): It doesn't set printer-name.
Glenn Morris [Sat, 14 Apr 2012 20:24:45 +0000 (13:24 -0700)]
* 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

12 years agoRemove outdated sentence from doc/emacs/mule.texi.
Glenn Morris [Sat, 14 Apr 2012 19:33:33 +0000 (12:33 -0700)]
Remove outdated sentence from doc/emacs/mule.texi.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-04/msg00403.html

12 years agoMore small edits for doc/emacs/mule.texi
Glenn Morris [Sat, 14 Apr 2012 19:20:25 +0000 (12:20 -0700)]
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.

12 years ago* lisp/international/mule-cmds.el (set-language-environment): Doc fix.
Glenn Morris [Sat, 14 Apr 2012 18:14:01 +0000 (11:14 -0700)]
* lisp/international/mule-cmds.el (set-language-environment): Doc fix.

12 years agoMerge from trunk.
Paul Eggert [Sat, 14 Apr 2012 18:11:27 +0000 (11:11 -0700)]
Merge from trunk.

12 years agoComment.
Glenn Morris [Sat, 14 Apr 2012 17:53:52 +0000 (10:53 -0700)]
Comment.

12 years ago* lisp/server.el: Doc fixes.
Juanma Barranquero [Sat, 14 Apr 2012 12:58:29 +0000 (14:58 +0200)]
* 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.

12 years agoAvoid the use of ((lambda ...) ...) in lexical-binding code.
Stefan Monnier [Sat, 14 Apr 2012 12:48:27 +0000 (08:48 -0400)]
Avoid the use of ((lambda ...) ...) in lexical-binding code.
* emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall.

Fixes: debbugs:11241
12 years ago(server-generate-key): `called-interactively-p' requires a parameter.
Lars Ingebrigtsen [Sat, 14 Apr 2012 11:36:26 +0000 (13:36 +0200)]
(server-generate-key): `called-interactively-p' requires a parameter.

12 years agoAllow using `server-auth-key' to set a permanent shared key
Michal Nazarewicz [Sat, 14 Apr 2012 11:16:17 +0000 (13:16 +0200)]
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
12 years ago* doc/emacs/glossary.texi (Glossary): Standardize on "text terminal" terminology.
Chong Yidong [Sat, 14 Apr 2012 08:25:06 +0000 (16:25 +0800)]
* doc/emacs/glossary.texi (Glossary): Standardize on "text terminal" terminology.
All callers changed.

12 years agoMerge from trunk.
Paul Eggert [Sat, 14 Apr 2012 06:38:33 +0000 (23:38 -0700)]
Merge from trunk.

12 years ago* lisp/vc/diff-mode.el (diff-file-prev/next): Fix typo.
Leo Liu [Sat, 14 Apr 2012 06:28:57 +0000 (14:28 +0800)]
* lisp/vc/diff-mode.el (diff-file-prev/next): Fix typo.

12 years agoMake GC_MAKE_GCPROS_NOOPS the default (Bug#9926).
Paul Eggert [Sat, 14 Apr 2012 06:18:49 +0000 (23:18 -0700)]
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.

12 years agoMerge from trunk.
Paul Eggert [Sat, 14 Apr 2012 05:16:02 +0000 (22:16 -0700)]
Merge from trunk.

12 years agoSpelling fixes.
Paul Eggert [Sat, 14 Apr 2012 05:10:55 +0000 (22:10 -0700)]
Spelling fixes.

* lisp/hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
Emacs uses American spelling.

12 years agoconfigure: new option --enable-gcc-warnings (Bug#11207)
Paul Eggert [Sat, 14 Apr 2012 05:04:54 +0000 (22:04 -0700)]
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.

12 years ago* doc/emacs/misc.texi (emacsclient Options): Document "client frame" concept
Chong Yidong [Sat, 14 Apr 2012 04:48:50 +0000 (12:48 +0800)]
* doc/emacs/misc.texi (emacsclient Options): Document "client frame" concept
and its effect on C-x C-c more carefully.

12 years agoMerge from trunk.
Paul Eggert [Sat, 14 Apr 2012 04:37:44 +0000 (21:37 -0700)]
Merge from trunk.

12 years ago* lisp/emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
Juanma Barranquero [Sat, 14 Apr 2012 03:11:18 +0000 (05:11 +0200)]
* 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
12 years agodoc/emacs trivia
Glenn Morris [Sat, 14 Apr 2012 02:42:22 +0000 (19:42 -0700)]
doc/emacs trivia

* doc/emacs/frames.texi (Scroll Bars):
* doc/emacs/glossary.texi (Glossary):
Use consistent case for "X Window System".

12 years agoMore small edits for doc/emacs/mule.texi
Glenn Morris [Sat, 14 Apr 2012 02:40:49 +0000 (19:40 -0700)]
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.

12 years ago* lisp/progmodes/which-func.el (which-func-modes): Change default.
Stefan Monnier [Sat, 14 Apr 2012 02:31:50 +0000 (22:31 -0400)]
* lisp/progmodes/which-func.el (which-func-modes): Change default.

12 years agoRemove unnecessary @setfilename commands from many doc/lispref/*.texi
Glenn Morris [Sat, 14 Apr 2012 01:59:01 +0000 (18:59 -0700)]
Remove unnecessary @setfilename commands from many doc/lispref/*.texi

12 years agoMerge from emacs-24, up to 2012-04-10T02:06:19Z!larsi@gnus.org
Glenn Morris [Sat, 14 Apr 2012 01:46:06 +0000 (18:46 -0700)]
Merge from emacs-24, up to 2012-04-10T02:06:19Z!larsi@gnus.org

12 years agoChanged defcustoms should get :version bumps
Glenn Morris [Sat, 14 Apr 2012 01:33:08 +0000 (18:33 -0700)]
Changed defcustoms should get :version bumps

12 years ago* hexl.el (hexl-insert-char): Make display sizes other than 16 work.
Vivek Dasmohapatra [Fri, 13 Apr 2012 22:31:23 +0000 (00:31 +0200)]
* hexl.el (hexl-insert-char): Make display sizes other than 16 work.

12 years agoMake `C-M-f' and friends work better when prompting for file names
Masatake YAMATO [Fri, 13 Apr 2012 21:43:03 +0000 (23:43 +0200)]
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.

12 years agoavoid.el compiliation fixups
Lars Ingebrigtsen [Fri, 13 Apr 2012 21:17:38 +0000 (23:17 +0200)]
avoid.el compiliation fixups

* avoid.el: Require cl when compiling.  And also move the
`provide' to the end.

12 years agoAllow further `mouse-avoidance-mode' customisations
Thierry Volpiatto [Fri, 13 Apr 2012 21:15:22 +0000 (23:15 +0200)]
Allow further `mouse-avoidance-mode' customisations

* avoid.el (mouse-avoidance-banish-position): New variable.
(mouse-avoidance-banish-destination): Use it.

12 years agoAllow further `mouse-avoid-mode' customisations
Thierry Volpiatto [Fri, 13 Apr 2012 21:12:48 +0000 (23:12 +0200)]
Allow further `mouse-avoid-mode' customisations

* avoid.el (mouse-avoidance-banish-position): New variable.
(mouse-avoidance-banish-destination): Use it.

12 years ago* lread.c (lisp_file_lexically_bound_p): Fix hang at ";-*-\n".
Atsuo Ohki [Fri, 13 Apr 2012 18:08:18 +0000 (14:08 -0400)]
* lread.c (lisp_file_lexically_bound_p): Fix hang at ";-*-\n".

Fixes: debbugs:11238
12 years ago* lisp/progmodes/which-func.el (which-func-modes): Add objc-mode.
Leo Liu [Fri, 13 Apr 2012 15:19:58 +0000 (23:19 +0800)]
* lisp/progmodes/which-func.el (which-func-modes): Add objc-mode.

12 years agoAdapt browse-url.el to improvements in Cygwin's cygstart utility.
Ken Brown [Fri, 13 Apr 2012 15:15:42 +0000 (11:15 -0400)]
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.

12 years ago* src/s/cygwin.h (PTY_OPEN): Don't try to close a bogus file descriptor.
Ken Brown [Fri, 13 Apr 2012 14:50:25 +0000 (10:50 -0400)]
* src/s/cygwin.h (PTY_OPEN): Don't try to close a bogus file descriptor.

12 years ago* lisp/emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
Stefan Monnier [Fri, 13 Apr 2012 13:32:37 +0000 (09:32 -0400)]
* lisp/emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
the region on shift if the binding is already shifted.

Fixes: debbugs:11221
12 years agoAuto-commit of generated files.
Glenn Morris [Fri, 13 Apr 2012 10:17:25 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoFix for C-x C-x in cua-selection-mode.
Chong Yidong [Fri, 13 Apr 2012 07:10:11 +0000 (15:10 +0800)]
Fix for C-x C-x in cua-selection-mode.

* emulation/cua-base.el (cua-exchange-point-and-mark): Just call
exchange-point-and-mark if cua-enable-cua-keys is nil.

Fixes: debbugs:11191
12 years agoFix typo in last commit.
Chong Yidong [Fri, 13 Apr 2012 06:22:01 +0000 (14:22 +0800)]
Fix typo in last commit.

12 years ago* src/indent.c (Fmove_to_column): Change interactive spec.
Reuben Thomas [Fri, 13 Apr 2012 06:20:39 +0000 (14:20 +0800)]
* src/indent.c (Fmove_to_column): Change interactive spec.

12 years ago* doc/lispref/customize.texi (Custom Themes): Also document load-theme etc.
Chong Yidong [Fri, 13 Apr 2012 04:18:40 +0000 (12:18 +0800)]
* doc/lispref/customize.texi (Custom Themes): Also document load-theme etc.

12 years agoMore small edits for doc/emacs/mule.texi
Glenn Morris [Fri, 13 Apr 2012 03:59:27 +0000 (20:59 -0700)]
More small edits for doc/emacs/mule.texi

* mule.texi (Select Input Method, Coding Systems, Recognize Coding):
Copyedits.
(Coding Systems): Mac OS X apparently uses newlines for EOL.
(Recognize Coding): Remove old auto-coding-regexp-alist example.
auto-coding-functions does not override coding: tags.
Remove rmail-decode-mime-charset; it no longer has any effect.

12 years ago* doc/misc/Makefile.in: Replace non-portable use of $< in emacs-gnutls rules.
Glenn Morris [Fri, 13 Apr 2012 00:01:59 +0000 (20:01 -0400)]
* doc/misc/Makefile.in: Replace non-portable use of $< in emacs-gnutls rules.

12 years agoBackport addition of emacs-gnutls manual from trunk
Teodor Zlatanov [Thu, 12 Apr 2012 23:59:47 +0000 (19:59 -0400)]
Backport addition of emacs-gnutls manual from trunk

12 years ago* doc/emacs/ack.texi (Acknowledgments): Don't mention obsolete mailpost.el.
Glenn Morris [Thu, 12 Apr 2012 23:51:19 +0000 (19:51 -0400)]
* doc/emacs/ack.texi (Acknowledgments): Don't mention obsolete mailpost.el.

12 years agoObsolete lisp/mail/mailpost.el
Glenn Morris [Thu, 12 Apr 2012 23:47:13 +0000 (19:47 -0400)]
Obsolete lisp/mail/mailpost.el

12 years agognus-msg.el (gnus-inews-insert-gcc): `C-x m' on a non-group line fixup
Lars Magne Ingebrigtsen [Thu, 12 Apr 2012 22:38:08 +0000 (22:38 +0000)]
gnus-msg.el (gnus-inews-insert-gcc): `C-x m' on a non-group line fixup

12 years ago* imenu.el (imenu--generic-function): Ignore invisible definitions.
Drew Adams [Thu, 12 Apr 2012 20:00:24 +0000 (22:00 +0200)]
* imenu.el (imenu--generic-function): Ignore invisible definitions.

Fixes: debbugs:10123
12 years ago* processes.texi (Synchronous Processes): Mention `default-directory'.
Jari Aalto [Thu, 12 Apr 2012 19:14:43 +0000 (21:14 +0200)]
* processes.texi (Synchronous Processes): Mention `default-directory'.

Fixes: debbugs:7515
12 years agolib-src/emacsclient.c (decode_options) [WINDOWSNT]: Fix typo in 2011-12-04T17:13...
Juanma Barranquero [Thu, 12 Apr 2012 18:22:06 +0000 (20:22 +0200)]
lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Fix typo in 2011-12-04T17:13:01Z!lekktu@gmail.com.
Call ttyname instead of passing its address.

12 years agoNew defcustoms should get :version tags
Glenn Morris [Thu, 12 Apr 2012 16:33:13 +0000 (09:33 -0700)]
New defcustoms should get :version tags

12 years agoAllow the user to alter the bit grouping in hexl.el
Vivek Dasmohapatra [Thu, 12 Apr 2012 15:58:53 +0000 (17:58 +0200)]
Allow the user to alter the bit grouping in hexl.el

* hexl.el (hexl-bits): New variable.
(hexl-options): Mention the variable in the doc string.
(hexl-rulerise): New function.
(hexl-line-displen): New function
(hexl-mode): Mention the new variable.
(hexl-mode, hexl-current-address, hexl-current-address): Use the
displen.
(hexl-ascii-start-column): New function.
(hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
(hexl-insert-char, hexl-mode-ruler): Use the displen.

Fixes: debbugs:4941
12 years agoNew Lisp manual nodes, Applying Customizations and Custom Themes.
Chong Yidong [Thu, 12 Apr 2012 14:50:58 +0000 (22:50 +0800)]
New Lisp manual nodes, Applying Customizations and Custom Themes.

* doc/lispref/customize.texi (Applying Customizations):
(Custom Themes): New nodes.

* doc/lispref/display.texi (Defining Faces): Reference custom-set-faces.

* doc/lispref/modes.texi (Defining Minor Modes, Defining Minor Modes):
* doc/lispref/os.texi (Startup Summary): Copyedits.

* doc/emacs/custom.texi (Creating Custom Themes): Add reference to Custom
Themes node in Lisp manual.

* lisp/custom.el (custom-theme-set-variables): Doc fix.

12 years agotextmodes/flyspell.el (flyspell-large-region): Specify encoding for hunspell with...
Agustín Martín [Thu, 12 Apr 2012 14:19:40 +0000 (16:19 +0200)]
textmodes/flyspell.el (flyspell-large-region): Specify encoding for hunspell with ("-i" ENCODING).

As done for ispell in in 2012-04-08T17:09:03Z!eliz@gnu.org, in flyspell-large-region we also need
to specify encoding for hunspell with ("-i" ENCODING), in 2 separate
command-line arguments, as expected by hunspell.

12 years ago* configure.in: Warn that Cygwin 1.5 is unsupported. (Bug#10398)
Ken Brown [Thu, 12 Apr 2012 12:17:20 +0000 (08:17 -0400)]
* configure.in: Warn that Cygwin 1.5 is unsupported.  (Bug#10398)

12 years ago* doc/emacs/mule.texi (Input Methods): Copyedits.
Glenn Morris [Thu, 12 Apr 2012 05:18:15 +0000 (22:18 -0700)]
* doc/emacs/mule.texi (Input Methods): Copyedits.
Use "^" for the postfix example, because it is less confusing inside
Info's `quotes'.

12 years ago* doc/emacs/mule.texi (Language Environments): Copyedits.
Glenn Morris [Thu, 12 Apr 2012 04:23:34 +0000 (21:23 -0700)]
* doc/emacs/mule.texi (Language Environments): Copyedits.

12 years agoMake generic sysfs support apply for yeeloong as well.
Stefan Monnier [Thu, 12 Apr 2012 02:04:29 +0000 (22:04 -0400)]
Make generic sysfs support apply for yeeloong as well.
* lisp/battery.el (battery--linux-sysfs-regexp): New const.
(battery-status-function): Use it.  Remove yeeloong special case.
(battery-yeeloong-sysfs): Remove.
(battery-echo-area-format): Remove yeeloong special case.

12 years agoDoc and manual fixes related to mule
Glenn Morris [Thu, 12 Apr 2012 01:09:15 +0000 (21:09 -0400)]
Doc and manual fixes related to mule

* doc/emacs/mule.texi (International): Copyedits.
(International Chars): Update C-x = example output.
(Disabling Multibyte): Rename from "Enabling Multibyte".
Clarify what "unibyte: t" does, and mode-line description.
(Unibyte Mode): Update for "Disabling Multibyte" node name change.
Use Texinfo recommended convention for quotes+punctuation.

* doc/emacs/custom.texi (Specifying File Variables):
Fix "unibyte" description.
Update for "Disabling Multibyte" node name change.

* doc/emacs/emacs.texi: Update for "Disabling Multibyte" node name change.

* doc/lispref/loading.texi (Loading Non-ASCII):
"unibyte:" can also be at the end.

* lisp/international/mule.el (set-auto-coding-for-load): Doc fix.

12 years agognus-art.el (article-wash-html): Fix non-ASCII characters when washing HTML (bug...
Lars Magne Ingebrigtsen [Wed, 11 Apr 2012 22:31:16 +0000 (22:31 +0000)]
gnus-art.el (article-wash-html): Fix non-ASCII characters when washing HTML (bug#7410).
gnus-msg.el (gnus-inews-insert-gcc): Protect against when we don't have a group name.
gnus-start.el (gnus-read-newsrc-el-file): Protect against broken .newsrc.el files.

12 years ago* imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
Stefan Monnier [Wed, 11 Apr 2012 21:41:58 +0000 (17:41 -0400)]
* imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
Reported by Noah Friedman.  Backport from trunk.

12 years ago* lisp/imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
Stefan Monnier [Wed, 11 Apr 2012 21:37:13 +0000 (17:37 -0400)]
* lisp/imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
Reported by Noah Friedman.

12 years ago* lisp/subr.el (read-passwd): Use read-string.
Stefan Monnier [Wed, 11 Apr 2012 18:13:20 +0000 (14:13 -0400)]
* lisp/subr.el (read-passwd): Use read-string.

12 years agoMake imenu work again for Objective C Mode.
Alan Mackenzie [Wed, 11 Apr 2012 18:09:10 +0000 (18:09 +0000)]
Make imenu work again for Objective C Mode.

12 years agoChangelog fix
Glenn Morris [Wed, 11 Apr 2012 16:09:39 +0000 (09:09 -0700)]
Changelog fix

12 years agoCorrect two search limits in c-before-change-check_<>-operators.
Alan Mackenzie [Wed, 11 Apr 2012 15:32:30 +0000 (15:32 +0000)]
Correct two search limits in c-before-change-check_<>-operators.

12 years agocc-mode.texi: (c-offsets-alist): Correct a typo.
Alan Mackenzie [Wed, 11 Apr 2012 15:24:20 +0000 (15:24 +0000)]
cc-mode.texi: (c-offsets-alist): Correct a typo.

12 years ago* vcursor.el (vcursor-move): Increase the priority of the overlay.
Lars Magne Ingebrigtsen [Wed, 11 Apr 2012 14:26:55 +0000 (16:26 +0200)]
* vcursor.el (vcursor-move): Increase the priority of the overlay.

Fixes: debbugs:9663
12 years agoKill channel buffers when killing rcirc server buffers
Deniz Dogan [Wed, 11 Apr 2012 14:22:36 +0000 (16:22 +0200)]
Kill channel buffers when killing rcirc server buffers

* net/rcirc.el (rcirc-kill-channel-buffers): New variable.
(rcirc-kill-buffer-hook): Use it to kill channel buffers.

Fixes: debbugs:5128
12 years ago(erc-nickserv-passwords): Don't display the password.
Vivek Dasmohapatra [Wed, 11 Apr 2012 13:43:03 +0000 (15:43 +0200)]
(erc-nickserv-passwords): Don't display the password.

Fixes: debbugs:4459
12 years ago(artist-mode): Convert artist-mode to use define-minor-mode.
William Stevenson [Wed, 11 Apr 2012 11:57:21 +0000 (13:57 +0200)]
(artist-mode): Convert artist-mode to use define-minor-mode.

Fixes: debbugs:10760
12 years agoUse the real vfork under Cygwin
Daniel Colascione [Wed, 11 Apr 2012 11:43:55 +0000 (13:43 +0200)]
Use the real vfork under Cygwin

* s/cygwin.h: The vfork the #define in cygwin.h was protecting
against is gone.  It's better to use vfork now so that when Cygwin
gains a new, working vfork, we use it automatically.

Fixes: debbugs:10398
12 years agorgrep ignored file tweak
Wolfgang Jenkner [Wed, 11 Apr 2012 11:39:35 +0000 (13:39 +0200)]
rgrep ignored file tweak

* lisp/progmodes/grep.el (rgrep): Tweak the find command line so
that directories matching `grep-find-ignored-files' won't be
pruned.

Fixes: debbugs:10351
12 years agoSync with Org 7.8.09 (bugfix release)
Bastien Guerry [Wed, 11 Apr 2012 10:59:50 +0000 (12:59 +0200)]
Sync with Org 7.8.09 (bugfix release)

12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 11 Apr 2012 10:17:27 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoNote obsolescence of mouse-sel.el in NEWS.
Chong Yidong [Wed, 11 Apr 2012 07:06:42 +0000 (15:06 +0800)]
Note obsolescence of mouse-sel.el in NEWS.

12 years ago* nt/makefile.w32-in: Fix typo (Bug#10261).
Dani Moncayo [Wed, 11 Apr 2012 06:33:51 +0000 (14:33 +0800)]
* nt/makefile.w32-in: Fix typo (Bug#10261).

12 years ago* startup.el (command-line): Remove support for font-lock-face-attributes.
Chong Yidong [Wed, 11 Apr 2012 05:43:47 +0000 (13:43 +0800)]
* startup.el (command-line): Remove support for font-lock-face-attributes.

12 years agoAdd another vc-bzr test
Glenn Morris [Wed, 11 Apr 2012 03:24:26 +0000 (20:24 -0700)]
Add another vc-bzr test

* lisp/vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.

* test/automated/vc-bzr.el (vc-bzr-test-faulty-bzr-autoloads): New test.

12 years ago* src/window.c (save_window_save): Obey window-point-insertion-type.
Stefan Monnier [Wed, 11 Apr 2012 02:36:04 +0000 (22:36 -0400)]
* src/window.c (save_window_save): Obey window-point-insertion-type.
* lisp/window.el (window--state-get-1): Idem.

12 years ago`narrow-to-defun' fixup
Lennart Borgman [Wed, 11 Apr 2012 02:12:20 +0000 (04:12 +0200)]
`narrow-to-defun' fixup

* emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
to previous function when point is on the first character of a
function. Take care of that in `narrow-to-defun'.

Fixes: debbugs:6157
12 years ago* lisp/vc/vc-bzr.el (vc-bzr-status): Handle all errors, not just file-errors.
Glenn Morris [Wed, 11 Apr 2012 02:06:59 +0000 (22:06 -0400)]
* lisp/vc/vc-bzr.el (vc-bzr-status): Handle all errors, not just file-errors.
Ref: http://lists.gnu.org/archive/html/help-gnu-emacs/2012-04/msg00145.html

12 years agoRepurpose C_SWITCH_X_SYSTEM as GNUSTEP_CFLAGS
Glenn Morris [Wed, 11 Apr 2012 01:25:51 +0000 (21:25 -0400)]
Repurpose C_SWITCH_X_SYSTEM as GNUSTEP_CFLAGS
This is the only thing left that uses it.

* configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.

* src/Makefile.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.

* lwlib/Makefile.in (C_SWITCH_X_SYSTEM): Remove.
(ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.

* oldXMenu/Makefile.in (C_SWITCH_X_SYSTEM): Remove.
(ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.

* msdos/sedlibmk.inp, msdos/sed1v2.inp:
GNUSTEP_CFLAGS replaces C_SWITCH_X_SYSTEM.

12 years agoUse internal sha1 in vc-bzr
Glenn Morris [Wed, 11 Apr 2012 01:16:48 +0000 (21:16 -0400)]
Use internal sha1 in vc-bzr

* lisp/vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
These were only added in 24.1 when sha1.el was removed in favor of an
internal sha1 implementation.  Frankly, I can't see why the internal
sha1 wasn't immediately used here.
(vc-bzr-sha1): Use internal sha1.
(Comments): Remove reference to abandoned upstream bug report that
contains no extra information.