bpt/emacs.git
12 years agoUse auto-hscroll-mode rather than the alias automatic-hscrolling
Glenn Morris [Tue, 17 Apr 2012 00:04:53 +0000 (20:04 -0400)]
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.

12 years agoReplace independent implementations of string-prefix-p
Glenn Morris [Mon, 16 Apr 2012 23:57:09 +0000 (19:57 -0400)]
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.

12 years agoFix thinko in previous yow.el change
Glenn Morris [Mon, 16 Apr 2012 23:07:19 +0000 (19:07 -0400)]
Fix thinko in previous yow.el change

12 years agotwo-column.el small cleanup
Glenn Morris [Mon, 16 Apr 2012 20:13:38 +0000 (16:13 -0400)]
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.

12 years ago* lisp/progmodes/python.el: Trivial cleanup.
Leo Liu [Mon, 16 Apr 2012 19:28:57 +0000 (03:28 +0800)]
* lisp/progmodes/python.el: Trivial cleanup.

12 years ago* eieio-opt.el (describe-class, describe-generic): Autoload trivia.
Glenn Morris [Mon, 16 Apr 2012 19:25:59 +0000 (15:25 -0400)]
* eieio-opt.el (describe-class, describe-generic): Autoload trivia.

12 years agoChangeLog fix
Glenn Morris [Mon, 16 Apr 2012 19:22:32 +0000 (15:22 -0400)]
ChangeLog fix

12 years agoHeader comment trivial fix
Glenn Morris [Mon, 16 Apr 2012 19:21:32 +0000 (15:21 -0400)]
Header comment trivial fix

12 years ago* lisp/emacs-lisp/cl-extra.el (*random-state*): Remove unnecessary declaration.
Glenn Morris [Mon, 16 Apr 2012 19:20:42 +0000 (15:20 -0400)]
* lisp/emacs-lisp/cl-extra.el (*random-state*): Remove unnecessary declaration.

12 years ago* lisp/calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
Glenn Morris [Mon, 16 Apr 2012 19:18:36 +0000 (15:18 -0400)]
* lisp/calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.

12 years ago* configure.in (NS_HAVE_NSINTEGER): Remove unnecessary variable.
Glenn Morris [Mon, 16 Apr 2012 19:13:44 +0000 (15:13 -0400)]
* configure.in (NS_HAVE_NSINTEGER): Remove unnecessary variable.

12 years ago* lisp/gnus/nndraft.el (nndraft-request-list): Fix declaration.
Glenn Morris [Mon, 16 Apr 2012 19:09:19 +0000 (15:09 -0400)]
* lisp/gnus/nndraft.el (nndraft-request-list): Fix declaration.

12 years agoFix comment typo
Glenn Morris [Mon, 16 Apr 2012 19:06:02 +0000 (15:06 -0400)]
Fix comment typo

12 years ago* cookie1.el (cookie-snarf): Explicit error if input file cannot be read.
Glenn Morris [Mon, 16 Apr 2012 19:04:27 +0000 (15:04 -0400)]
* cookie1.el (cookie-snarf): Explicit error if input file cannot be read.

12 years ago* lisp/play/yow.el (yow-file): Use expand-file-name rather than concat.
Glenn Morris [Mon, 16 Apr 2012 19:02:59 +0000 (15:02 -0400)]
* lisp/play/yow.el (yow-file): Use expand-file-name rather than concat.
Remove old comment.

12 years ago* lisp/progmodes/perl-mode.el (c-macro-expand): Remove unnecessary autoload
Glenn Morris [Mon, 16 Apr 2012 19:01:30 +0000 (15:01 -0400)]
* lisp/progmodes/perl-mode.el (c-macro-expand): Remove unnecessary autoload
(it is in loaddefs.el).

12 years agopicture.el small cleanup
Glenn Morris [Mon, 16 Apr 2012 18:53:06 +0000 (14:53 -0400)]
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.

12 years agoSet lisp/vc/vc-hg.el maintainer to FSF.
Glenn Morris [Mon, 16 Apr 2012 18:48:46 +0000 (14:48 -0400)]
Set lisp/vc/vc-hg.el maintainer to FSF.
Ref: http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-03/msg00325.html

12 years agoReplace a use of eval-after-load
Glenn Morris [Mon, 16 Apr 2012 18:46:46 +0000 (14:46 -0400)]
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.

12 years ago* lisp/frame.el (automatic-hscrolling): Make this alias obsolete.
Glenn Morris [Mon, 16 Apr 2012 18:41:38 +0000 (14:41 -0400)]
* lisp/frame.el (automatic-hscrolling): Make this alias obsolete.

12 years ago* configure.in: Remove X libs workaround for old autoconf.
Glenn Morris [Mon, 16 Apr 2012 18:32:59 +0000 (14:32 -0400)]
* configure.in: Remove X libs workaround for old autoconf.

12 years ago(ispell-dictionary-base-alist): Revert to original XEmacs friendly default value.
Agustín Martín [Mon, 16 Apr 2012 17:32:02 +0000 (19:32 +0200)]
(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).

12 years agoispell.el: Fix last Changelog entry. utf-8 will be enabled if possible.
Agustín Martín [Mon, 16 Apr 2012 17:06:58 +0000 (19:06 +0200)]
ispell.el: Fix last Changelog entry. utf-8 will be enabled if possible.

12 years agoispell.el (ispell-set-spellchecker-params): Make dicts use [:alpha:] if
Agustín Martín [Mon, 16 Apr 2012 09:49:51 +0000 (11:49 +0200)]
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

12 years ago* alloc.c: Remove one incorrect comment and fix another.
Paul Eggert [Mon, 16 Apr 2012 06:39:21 +0000 (23:39 -0700)]
* alloc.c: Remove one incorrect comment and fix another.

12 years agoCall imagemagick-register-types automatically.
Chong Yidong [Mon, 16 Apr 2012 03:47:43 +0000 (11:47 +0800)]
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.

12 years agoFix minor alloc.c problems found by static checking.
Paul Eggert [Mon, 16 Apr 2012 03:38:40 +0000 (20:38 -0700)]
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.

12 years agoFix minor ralloc.c problems found by static checking.
Paul Eggert [Mon, 16 Apr 2012 01:18:13 +0000 (18:18 -0700)]
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.

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 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 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 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 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 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 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 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.