bpt/emacs.git
11 years agoselect.el (xselect--encode-string): If a coding is specified for selection, and that...
Kenichi Handa [Wed, 10 Oct 2012 14:45:26 +0000 (23:45 +0900)]
select.el (xselect--encode-string): If a coding is specified for selection, and that is compatible with COMPOUND_TEXT, use it.

11 years ago* alloc.c (gc_sweep): Use pointer-to-a-pointer loop for buffers.
Dmitry Antipov [Wed, 10 Oct 2012 14:45:07 +0000 (18:45 +0400)]
* alloc.c (gc_sweep): Use pointer-to-a-pointer loop for buffers.

11 years agoIn switch-to-buffer optionally restore window point (Bug#4041).
Martin Rudalics [Wed, 10 Oct 2012 09:36:45 +0000 (11:36 +0200)]
In switch-to-buffer optionally restore window point (Bug#4041).

* window.el (switch-to-buffer-preserve-window-point): New option.
(switch-to-buffer): Obey
`switch-to-buffer-preserve-window-point' (Bug#4041).

11 years ago* commands.h (immediate_quit): Remove duplicate decl.
Paul Eggert [Wed, 10 Oct 2012 06:39:16 +0000 (23:39 -0700)]
* commands.h (immediate_quit): Remove duplicate decl.

11 years ago* doc/emacs/basic.texi (Arguments): Fix typos.
Dani Moncayo [Wed, 10 Oct 2012 02:52:55 +0000 (10:52 +0800)]
* doc/emacs/basic.texi (Arguments): Fix typos.

Also, remove "tiny change" tags from ChangeLogs; Dani Moncayo now has
a copyright assignment.

11 years agoRemove caching in nsfont.m, the general code does it (I misunderstood).
Jan Djärv [Tue, 9 Oct 2012 18:33:01 +0000 (20:33 +0200)]
Remove caching in nsfont.m, the general code does it (I misunderstood).

* nsfont.m (Vfonts_in_cache): Remove, not needed as font.c handles
caching.
(nsfont_open): Remove setting of Vfonts_in_cache.
(syms_of_nsfont): Remove initialization of Vfonts_in_cache

11 years agoFix return type of w32_last_error.
Eli Zaretskii [Tue, 9 Oct 2012 18:10:16 +0000 (20:10 +0200)]
Fix return type of w32_last_error.

 src/w32fns.c (w32_last_error): Change the return value to DWORD, to
 match what GetLastError returns.  Explain better why the function is
 needed.

11 years agoAvoid shadowing a global variable by a local one in frame.c.
Eli Zaretskii [Tue, 9 Oct 2012 17:58:18 +0000 (19:58 +0200)]
Avoid shadowing a global variable by a local one in frame.c.

 src/frame.c (delete_frame): Rename local variable 'tooltip_frame' to
 'is_tooltip_frame', to avoid confusion with its global namesake.

11 years ago* lisp/gnu/starttls.el (starttls-extra-arguments): Doc fix (tiny change)
Kazuhiro Ito [Tue, 9 Oct 2012 17:55:08 +0000 (13:55 -0400)]
* lisp/gnu/starttls.el (starttls-extra-arguments): Doc fix (tiny change)

Fixes: debbugs:12608

11 years ago* lisp/newcomment.el (comment-start-skip, comment-end-skip, comment-end):
Stefan Monnier [Tue, 9 Oct 2012 16:37:51 +0000 (12:37 -0400)]
* lisp/newcomment.el (comment-start-skip, comment-end-skip, comment-end):
Don't document nil as a useful value.

Fixes: debbugs:12583

11 years agoRevert incorrect doc fix from 2012-10-09T07:06:54Z!rgm@gnu.org
Glenn Morris [Tue, 9 Oct 2012 16:30:12 +0000 (09:30 -0700)]
Revert incorrect doc fix from 2012-10-09T07:06:54Z!rgm@gnu.org

11 years ago* trampver.texi: Update release number.
Michael Albinus [Tue, 9 Oct 2012 12:51:21 +0000 (14:51 +0200)]
* trampver.texi: Update release number.

11 years ago* net/tramp.el (tramp-debug-message): Remove
Michael Albinus [Tue, 9 Oct 2012 12:49:02 +0000 (14:49 +0200)]
* net/tramp.el (tramp-debug-message): Remove
"tramp-with-progress-reporter" from regexp of ignored functions.
(with-tramp-progress-reporter): Rename from
`tramp-with-progress-reporter'.
(with-tramp-file-property, with-tramp-connection-property): Move
from tramp-cache.el, rename from `with-file-property' and
`with-connection-property', respectively.

* net/tramp-cache.el: Remove `with-file-property' and
`with-connection-property'.

* net/tramp.el:
* net/tramp-gvfs.el:
* net/tramp-sh.el:
* net/tramp-smb.el: Adapt callees.

* net/trampver.el: Update release number.

11 years agoAuto-commit of generated files.
Glenn Morris [Tue, 9 Oct 2012 10:17:32 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years agoUpdate some function declarations
Glenn Morris [Tue, 9 Oct 2012 07:08:26 +0000 (00:08 -0700)]
Update some function declarations

* w32-fns.el (set-message-beep):
* term/w32-win.el (set-message-beep): Update declarations.

11 years ago* lisp/newcomment.el (comment-normalize-vars): Doc fix (presumably).
Glenn Morris [Tue, 9 Oct 2012 07:06:54 +0000 (00:06 -0700)]
* lisp/newcomment.el (comment-normalize-vars): Doc fix (presumably).

11 years agoMake cusver handle options moved from C to lisp
Glenn Morris [Tue, 9 Oct 2012 07:00:23 +0000 (00:00 -0700)]
Make cusver handle options moved from C to lisp

* admin/admin.el (cusver-scan-cus-start): New function.
(cusver-check): Scan old cus-start.el.

11 years ago* lisp/bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
Stefan Monnier [Tue, 9 Oct 2012 06:41:07 +0000 (02:41 -0400)]
* lisp/bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
(mode-line-widen, mode-line-input-method-map)
(mode-line-coding-system-map, mode-line-remote)
(mode-line-unbury-buffer, mode-line-bury-buffer)
(mode-line-next-buffer, mode-line-previous-buffer):
Replace save-selected-window+select-window => with-selected-window.

11 years ago* lisp/progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
Stefan Monnier [Tue, 9 Oct 2012 06:36:16 +0000 (02:36 -0400)]
* lisp/progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
* lisp/progmodes/cc-vars.el (bq-process): Remove, unused.

11 years agoChangeLog fixes
Glenn Morris [Tue, 9 Oct 2012 06:33:51 +0000 (23:33 -0700)]
ChangeLog fixes

11 years ago* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
Stefan Monnier [Tue, 9 Oct 2012 06:01:10 +0000 (02:01 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.

11 years agoshr.el (shr-insert): \r is also not inserted, so don't try to delete it
Lars Magne Ingebrigtsen [Tue, 9 Oct 2012 02:28:34 +0000 (02:28 +0000)]
shr.el (shr-insert): \r is also not inserted, so don't try to delete it

11 years agoImplemented `backward-up-list'-like navigation.
Fabián Ezequiel Gallina [Tue, 9 Oct 2012 02:07:26 +0000 (23:07 -0300)]
Implemented `backward-up-list'-like navigation.
* progmodes/python.el (python-nav-up-list)
(python-nav-backward-up-list): New functions.
(python-mode-map): Define substitute key for backward-up-list to
python-nav-backward-up-list.

11 years ago* progmodes/python.el (python-fill-paragraph): Rename from
Fabián Ezequiel Gallina [Mon, 8 Oct 2012 22:18:05 +0000 (19:18 -0300)]
* progmodes/python.el (python-fill-paragraph): Rename from
python-fill-paragraph-function.  Fixed fill-paragraph for
decorators.

Fixes: debbugs:12605

11 years agoMinor tweaks to recently-changed code.
Paul Eggert [Mon, 8 Oct 2012 22:14:39 +0000 (15:14 -0700)]
Minor tweaks to recently-changed code.

Space before paren, avoid overparenthesization, etc.

11 years ago* progmodes/python.el (python-shell-output-filter): Handle extra
Fabián Ezequiel Gallina [Mon, 8 Oct 2012 21:51:02 +0000 (18:51 -0300)]
* progmodes/python.el (python-shell-output-filter): Handle extra
carriage return in OSX.

Fixes: debbugs:12409

11 years agoFix shell handling of unbalanced quotes and parens in output.
Fabián Ezequiel Gallina [Mon, 8 Oct 2012 21:30:36 +0000 (18:30 -0300)]
Fix shell handling of unbalanced quotes and parens in output.
* progmodes/python.el (python-rx-constituents): Added
string-delimiter.
(python-syntax-propertize-function): Use it.
(python-shell-output-syntax-table): New var.
(inferior-python-mode): Prevent unbalanced parens/quotes from
previous output mess with current input context.

11 years agoFix wording in src/ChangeLog entries from last commits.
Eli Zaretskii [Mon, 8 Oct 2012 19:58:54 +0000 (21:58 +0200)]
Fix wording in src/ChangeLog entries from last commits.

11 years ago* semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
David Engster [Mon, 8 Oct 2012 19:40:50 +0000 (21:40 +0200)]
* semantic/bovine/el.el: Add `semantic-default-elisp-setup' to
  `emacs-lisp-mode-hook'.  This was accidentally removed during the
  CEDET update (2012-10-01T18:10:29Z!cyd@gnu.org).

11 years ago* xdisp.c (start_hourglass): Call w32_note_current_window when
Daniel Colascione [Mon, 8 Oct 2012 19:22:42 +0000 (11:22 -0800)]
* xdisp.c (start_hourglass): Call w32_note_current_window when
HAVE_NTGUI but not WINDOWSNT, resolving a problem that caused Emacs to
display the hourglass cursor forever.

11 years agoMerge into trunk
Daniel Colascione [Mon, 8 Oct 2012 18:47:29 +0000 (10:47 -0800)]
Merge into trunk

11 years ago* w32fns.c (Fx_display_color_cells): Instead of using NCOLORS,
Daniel Colascione [Mon, 8 Oct 2012 18:44:42 +0000 (10:44 -0800)]
* w32fns.c (Fx_display_color_cells): Instead of using NCOLORS,
which is broke under remote desktop, calculating the number of
colors available for a display based on the display's number of
planes and number of bits per pixel per plane.  (bug#10397).

11 years agoFix wide-int related error and cache error in NS font handling.
Jan Djärv [Mon, 8 Oct 2012 18:31:39 +0000 (20:31 +0200)]
Fix wide-int related error and cache error in NS font handling.

* nsfont.m (Vfonts_in_cache): New variable.
(nsfont_open): Use unsignedLongLongValue for cache in case wide ints
are used.  Add cached fonts to Vfonts_in_cache.
(syms_of_nsfont): Initialize and staticpro Vfonts_in_cache.

11 years agolisp/generic-x.el: Make javascript-generic-mode an obsolete alias of js-mode.
Juanma Barranquero [Mon, 8 Oct 2012 16:20:59 +0000 (18:20 +0200)]
lisp/generic-x.el: Make javascript-generic-mode an obsolete alias of js-mode.

11 years agoAdd 2012 to copyright years
Glenn Morris [Mon, 8 Oct 2012 16:11:41 +0000 (09:11 -0700)]
Add 2012 to copyright years

11 years agoDistinguish MS Windows
Glenn Morris [Mon, 8 Oct 2012 16:09:00 +0000 (09:09 -0700)]
Distinguish MS Windows

11 years agosrc/makefile.w32-in: Update dependencies.
Juanma Barranquero [Mon, 8 Oct 2012 14:37:04 +0000 (16:37 +0200)]
src/makefile.w32-in: Update dependencies.

11 years agont/config.nt: Sync with autogen/config.in.
Juanma Barranquero [Mon, 8 Oct 2012 14:14:22 +0000 (16:14 +0200)]
nt/config.nt: Sync with autogen/config.in.
(HAVE_NTGUI): New macro.

src/makefile.w32-in (LOCAL_FLAGS): Don't define HAVE_NTGUI,
it's now in nt/config.nt.

11 years ago* ffap.el (ffap-replace-file-component): Support Tramp file name
Michael Albinus [Mon, 8 Oct 2012 13:59:18 +0000 (15:59 +0200)]
* ffap.el (ffap-replace-file-component): Support Tramp file name
syntax, not only ange-ftp's one.

11 years agosrc/w32term.c: Remove leftover declaration of keyboard_codepage.
Juanma Barranquero [Mon, 8 Oct 2012 13:46:03 +0000 (15:46 +0200)]
src/w32term.c: Remove leftover declaration of keyboard_codepage.

11 years agoFix w32 dependencies due to introduction of w32common.h.
Eli Zaretskii [Mon, 8 Oct 2012 13:31:14 +0000 (15:31 +0200)]
Fix w32 dependencies due to introduction of w32common.h.

 src/makefile.w32-in ($(BLD)/unexw32.$(O)):
 ($(BLD)/w32.$(O)):
 ($(BLD)/w32console.$(O)):
 ($(BLD)/w32fns.$(O)):
 ($(BLD)/w32heap.$(O)):
 ($(BLD)/w32menu.$(O)):
 ($(BLD)/w32proc.$(O)): Add w32common.h.

11 years agoCode cleanup for cygw32
Daniel Colascione [Mon, 8 Oct 2012 12:53:18 +0000 (04:53 -0800)]
Code cleanup for cygw32

11 years agoUpdate w32 dependencies in the wake of cygw32 changes.
Eli Zaretskii [Mon, 8 Oct 2012 12:21:04 +0000 (14:21 +0200)]
Update w32 dependencies in the wake of cygw32 changes.

 src/makefile.w32-in (FONT_H): Add $(FRAME_H).
 (W32TERM_H): Add $(ATIMER_H) and $(FRAME_H).
 ($(BLD)/emacs.$(O), $(BLD)/w32console.$(O)): Update dependencies.
 (GLOBAL_SOURCES): Add cygw32.c.

 lib-src/makefile.w32-in (obj): Add cygw32.o.

11 years agoAvoid compiler warnings on w32, caused by cygw32 changes.
Eli Zaretskii [Mon, 8 Oct 2012 11:19:35 +0000 (13:19 +0200)]
Avoid compiler warnings on w32, caused by cygw32 changes.

 src/w32fns.c (w32_color_map_lookup, x_to_w32_color): Argument is now
 'const char *'.
 (x_to_w32_color): Don't modify the argument, modify a copy instead.

11 years agoFix wording of comments in w32fns.c.
Eli Zaretskii [Mon, 8 Oct 2012 11:03:00 +0000 (13:03 +0200)]
Fix wording of comments in w32fns.c.

11 years agoImprove fix for jpeglib build break
Daniel Colascione [Mon, 8 Oct 2012 10:26:10 +0000 (02:26 -0800)]
Improve fix for jpeglib build break

11 years agoAuto-commit of generated files.
Glenn Morris [Mon, 8 Oct 2012 10:17:36 +0000 (06:17 -0400)]
Auto-commit of generated files.

11 years agoCommit ChangeLog for last change.
Eli Zaretskii [Mon, 8 Oct 2012 10:07:16 +0000 (12:07 +0200)]
Commit ChangeLog for last change.

11 years agoRemove CHECK_LIB_AVAILABLE from image.c, mistakenly reintroduced by cygw32.
Eli Zaretskii [Mon, 8 Oct 2012 10:05:50 +0000 (12:05 +0200)]
Remove CHECK_LIB_AVAILABLE from image.c, mistakenly reintroduced by cygw32.

 src/image.c (CHECK_LIB_AVAILABLE): Remove, no longer used.

11 years agoFix conditional macros in emacs.c, introduced by cygw32 addition.
Eli Zaretskii [Mon, 8 Oct 2012 10:01:59 +0000 (12:01 +0200)]
Fix conditional macros in emacs.c, introduced by cygw32 addition.

 src/emacs.c (DAEMON_MUST_EXEC) [HAVE_NTGUI]: Define this only on Cygwin.

11 years agoFix comments in src/cygw32.h.
Eli Zaretskii [Mon, 8 Oct 2012 09:52:25 +0000 (11:52 +0200)]
Fix comments in src/cygw32.h.

11 years agoFix copyright years in new cygw32 files.
Eli Zaretskii [Mon, 8 Oct 2012 09:41:04 +0000 (11:41 +0200)]
Fix copyright years in new cygw32 files.

11 years agoFix the MSDOS configury due to changes in 2012-10-08T08:23:13Z!dancol@dancol.org.
Eli Zaretskii [Mon, 8 Oct 2012 09:32:40 +0000 (11:32 +0200)]
Fix the MSDOS configury due to changes in 2012-10-08T08:23:13Z!dancol@dancol.org.

 msdos/sed1v2.inp (W32_LIBS, W32_OBJ): Edit to empty.

11 years agoetc/NEWS: Fix wording in the Cygwin-related entries of the last change.
Eli Zaretskii [Mon, 8 Oct 2012 09:23:31 +0000 (11:23 +0200)]
etc/NEWS: Fix wording in the Cygwin-related entries of the last change.

11 years agoTemporary fix for changes in 2012-10-08T08:23:13Z!dancol@dancol.org.
Eli Zaretskii [Mon, 8 Oct 2012 09:19:20 +0000 (11:19 +0200)]
Temporary fix for changes in 2012-10-08T08:23:13Z!dancol@dancol.org.

11 years agoMerge cygw32
Daniel Colascione [Mon, 8 Oct 2012 08:23:13 +0000 (00:23 -0800)]
Merge cygw32

11 years agofix NT build
Daniel Colascione [Mon, 8 Oct 2012 08:18:01 +0000 (00:18 -0800)]
fix NT build

11 years agoAdd NEWS entries for cygw32
Daniel Colascione [Mon, 8 Oct 2012 08:11:21 +0000 (00:11 -0800)]
Add NEWS entries for cygw32

11 years agoChangelog entries for cygw32
Daniel Colascione [Mon, 8 Oct 2012 07:58:40 +0000 (23:58 -0800)]
Changelog entries for cygw32

11 years agoFix for url-https.el neing merged into url-http.el
Glenn Morris [Mon, 8 Oct 2012 07:47:23 +0000 (00:47 -0700)]
Fix for url-https.el neing merged into url-http.el

* lisp/url/url-methods.el (url-scheme-get-property): url-https.el was
merged into url-http.el, so load the latter for https.

Fixes: debbugs:12599

11 years agoTrivial NEWS copyedits
Glenn Morris [Mon, 8 Oct 2012 07:23:49 +0000 (00:23 -0700)]
Trivial NEWS copyedits

11 years ago* lisp/cus-start.el (message-log-max): Set :version.
Glenn Morris [Mon, 8 Oct 2012 07:18:02 +0000 (00:18 -0700)]
* lisp/cus-start.el (message-log-max): Set :version.

* etc/NEWS: No need to mention a simple customization option whose
  default has changed, since the :version tag does that.

11 years agoTrivial NEWS copyedits
Glenn Morris [Mon, 8 Oct 2012 07:10:21 +0000 (00:10 -0700)]
Trivial NEWS copyedits

11 years agoDocument calendar-month-header
Glenn Morris [Mon, 8 Oct 2012 07:06:36 +0000 (00:06 -0700)]
Document calendar-month-header

* doc/emacs/cal-xtra.texi (Calendar Customizing): Mention calendar-month-header.

* etc/NEWS: Related edit.

11 years ago* lisp/calendar/calendar.el (calendar-intermonth-header): Doc fix.
Glenn Morris [Mon, 8 Oct 2012 07:05:21 +0000 (00:05 -0700)]
* lisp/calendar/calendar.el (calendar-intermonth-header): Doc fix.

11 years agoDocument cal-html-holidays
Glenn Morris [Mon, 8 Oct 2012 07:00:24 +0000 (00:00 -0700)]
Document cal-html-holidays

* doc/emacs/calendar.texi (Writing Calendar Files): Mention cal-html-holidays.

* etc/NEWS: Related edit.

11 years agoFix ChangeLog typo
Glenn Morris [Mon, 8 Oct 2012 06:58:36 +0000 (23:58 -0700)]
Fix ChangeLog typo

11 years agoIn edebug-pop-to-buffer don't try to split the minibuffer window (Bug#10851).
Martin Rudalics [Mon, 8 Oct 2012 06:42:29 +0000 (08:42 +0200)]
In edebug-pop-to-buffer don't try to split the minibuffer window (Bug#10851).

* emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
the minibuffer window (Bug#10851).

11 years agoEnhancements on forward-sexp movement.
Fabián Ezequiel Gallina [Mon, 8 Oct 2012 05:19:15 +0000 (02:19 -0300)]
Enhancements on forward-sexp movement.
* progmodes/python.el (python-nav-beginning-of-statement)
(python-nav-end-of-statement): Return point-marker.
(python-nav-forward-sexp): lisp-like forward-sexp behavior.
(python-info-current-symbol)
(python-info-statement-starts-block-p): Rename from
python-info-beginning-of-block-p.
(python-info-statement-ends-block-p): Rename from
python-info-end-of-block-p.
(python-info-beginning-of-statement-p)
(python-info-end-of-statement-p)
(python-info-beginning-of-block-p, python-info-end-of-block-p):
New functions.

11 years ago* lisp/comint.el (comint-preinput-scroll-to-bottom): Preserve the
Stefan Monnier [Mon, 8 Oct 2012 00:12:26 +0000 (20:12 -0400)]
* lisp/comint.el (comint-preinput-scroll-to-bottom): Preserve the
frame-selected-windows.

11 years agoMerge from trunk
Daniel Colascione [Sun, 7 Oct 2012 22:31:58 +0000 (14:31 -0800)]
Merge from trunk

11 years ago* lisp/subr.el (read-passwd-map): Don't use `defconst'.
Stefan Monnier [Sun, 7 Oct 2012 19:48:02 +0000 (15:48 -0400)]
* lisp/subr.el (read-passwd-map): Don't use `defconst'.
(read-passwd): Remove a few more potential sources of leaks.

Fixes: debbugs:12597

11 years ago* progmodes/python.el (inferior-python-mode)
Fabián Ezequiel Gallina [Sun, 7 Oct 2012 19:37:37 +0000 (16:37 -0300)]
* progmodes/python.el (inferior-python-mode)
(python-shell-make-comint): Fixed initialization of local
variables copied from parent buffer.

11 years agoDon't abort when ralloc.c:relinquish cannot return a heap to the system.
Eli Zaretskii [Sun, 7 Oct 2012 18:33:10 +0000 (20:33 +0200)]
Don't abort when ralloc.c:relinquish cannot return a heap to the system.

 src/ralloc.c (relinquish): If a heap is ready to be relinquished,
 but it still has blocs in it, don't return it to the system,
 instead of aborting.  (Bug#12402)

11 years agoMerge changes from CEDET upstream.
David Engster [Sun, 7 Oct 2012 18:29:07 +0000 (20:29 +0200)]
Merge changes from CEDET upstream.

11 years ago* semantic/wisent/python.el (semantic-ctxt-current-function)
David Engster [Sun, 7 Oct 2012 18:23:50 +0000 (20:23 +0200)]
* semantic/wisent/python.el (semantic-ctxt-current-function)
  (semantic-ctxt-current-assignment): New overrides, simply returning
  nil.  The defaults do not work correctly and can send the parser in
  an inifinite loop (bug#12458).

11 years ago* semantic/ede-grammar.el (project-compile-target): Fix grammar
David Engster [Sun, 7 Oct 2012 18:19:58 +0000 (20:19 +0200)]
* semantic/ede-grammar.el (project-compile-target): Fix grammar
  compilation after introduction of %provide statement.

11 years ago* semantic.el (semantic-new-buffer-setup-functions): Remove setup
David Engster [Sun, 7 Oct 2012 18:12:46 +0000 (20:12 +0200)]
* semantic.el (semantic-new-buffer-setup-functions): Remove setup
  function for `f90-mode', since the parser only exists upstream.

11 years ago* lisp/term/ns-win.el (ns-read-file-name): Update declaration to match
Jan Djärv [Sun, 7 Oct 2012 17:47:41 +0000 (19:47 +0200)]
* lisp/term/ns-win.el (ns-read-file-name): Update declaration to match
nsfns.m.
(ns-respond-to-change-font): Change fontsize separatly so we are sure
it is set when font is acted upon.

11 years agoReformat last entries to fit 80 columns.
Jan Djärv [Sun, 7 Oct 2012 16:54:43 +0000 (18:54 +0200)]
Reformat last entries to fit 80 columns.

11 years agoEnhancements to indentation.
Fabián Ezequiel Gallina [Sun, 7 Oct 2012 16:13:52 +0000 (13:13 -0300)]
Enhancements to indentation.
* lisp/progmodes/python.el (python-indent-context): Give priority to
inside-string context.  Make comments indentation markers.
(python-indent-region): Do not mess with strings, unless it's the
enclosing set of quotes.

11 years ago* lisp/window.el (internal--before-save-selected-window)
Stefan Monnier [Sun, 7 Oct 2012 15:54:30 +0000 (11:54 -0400)]
* lisp/window.el (internal--before-save-selected-window)
(internal--after-save-selected-window): New functions extracted from
save-selected-window.  Make sure we return the `alist' we construct.
(save-selected-window): Use them.
* lisp/textmodes/tex-mode.el (tex-recenter-output-buffer):
Use with-selected-window.

11 years ago* lisp/emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
Stefan Monnier [Sun, 7 Oct 2012 15:15:16 +0000 (11:15 -0400)]
* lisp/emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
forms that define macros.

Fixes: debbugs:12593

11 years agoFixa typo in last commit.
Eli Zaretskii [Sun, 7 Oct 2012 14:54:01 +0000 (16:54 +0200)]
Fixa typo in last commit.

11 years agoAdd a comment with overview of how Emacs input works on MS-Windows.
Eli Zaretskii [Sun, 7 Oct 2012 14:50:29 +0000 (16:50 +0200)]
Add a comment with overview of how Emacs input works on MS-Windows.

11 years agotextmodes/rst.el (rst-official-cvs-rev): Correct version string.
Stefan Merten [Sun, 7 Oct 2012 13:09:35 +0000 (15:09 +0200)]
textmodes/rst.el (rst-official-cvs-rev): Correct version string.

11 years agomerge trunk
Kenichi Handa [Sun, 7 Oct 2012 12:58:14 +0000 (21:58 +0900)]
merge trunk

11 years agointernational/mule-conf.el (compound-text-with-extensions): Add :mime-charset propert...
Kenichi Handa [Sun, 7 Oct 2012 12:48:44 +0000 (21:48 +0900)]
international/mule-conf.el (compound-text-with-extensions): Add :mime-charset property as x-ctext.

11 years ago* textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
Stefan Merten [Sun, 7 Oct 2012 12:48:09 +0000 (14:48 +0200)]
* textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
(rst-indent-literal-normal, rst-indent-literal-minimized)
(rst-indent-comment): Correct :version tag.

11 years ago* nsterm.m (ns_dumpglyphs_image): Only draw slize of image (Bug#12506).
Jan Djärv [Sun, 7 Oct 2012 11:09:04 +0000 (13:09 +0200)]
* nsterm.m (ns_dumpglyphs_image): Only draw slize of image (Bug#12506).

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 7 Oct 2012 10:23:48 +0000 (06:23 -0400)]
Auto-commit of loaddefs files.

11 years agoAuto-commit of generated files.
Glenn Morris [Sun, 7 Oct 2012 10:19:00 +0000 (06:19 -0400)]
Auto-commit of generated files.

11 years agoCheck for OSX >= 10.4 to match what the maunal says and what we actually support.
Jan Djärv [Sun, 7 Oct 2012 10:07:23 +0000 (12:07 +0200)]
Check for OSX >= 10.4 to match what the maunal says and what we actually support.

* configure.ac: Check that OSX is 10.4 or newer.

* etc/NEWS (NextStep/OSX port changes): OSX 10.4 or newer is required.

* src/nsfns.m (Fns_list_services): Remove comment and check for OSX < 10.4.
(ns_do_applescript): Remove check for >= MAC_OS_X_VERSION_10_4.

* src/nsimage.m (setPixmapData, getPixelAtX, setAlphaAtX): Remove onTiger.

* src/nsmenu.m (fillWithWidgetValue:): Remove code for < MAC_OS_X_VERSION_10_2.

* src/nsselect.m (ns_string_from_pasteboard): Remove check for >=
MAC_OS_X_VERSION_10_4.

* src/nsterm.h (MAC_OS_X_VERSION_10_3, onTiger): Remove.
(EmacsApp): Remove check for >= MAC_OS_X_VERSION_10_4.
(struct nsfont_info): Remove check for >= MAC_OS_X_VERSION_10_3.

11 years ago* nsfns.m (ns_in_resize): Remove.
Jan Djärv [Sun, 7 Oct 2012 09:17:17 +0000 (11:17 +0200)]
* nsfns.m (ns_in_resize): Remove.
(x_set_icon_name, ns_set_name, ns_set_name_as_filename):  Remove ns_in_resize
check.

* nsterm.m (ns_in_resize): Remove.
(ns_resize_handle_rect, mouseDown, mouseUp, mouseDragged): Remove.
(ns_clear_frame, sendEvent, windowDidResize, drawRect:): Remove ns_in_resize
check.
(ns_clear_frame_area): Remove resize handle code.

Fixes: debbugs:12479

11 years agoUn-mung previous erc-log change (error due to committer, not author)
Glenn Morris [Sun, 7 Oct 2012 07:54:41 +0000 (00:54 -0700)]
Un-mung previous erc-log change (error due to committer, not author)

11 years agoFix infloop in rmailmm on multipart messages with epilogues
Glenn Morris [Sun, 7 Oct 2012 07:49:16 +0000 (00:49 -0700)]
Fix infloop in rmailmm on multipart messages with epilogues

* lisp/mail/rmailmm.el (rmail-mime-process-multipart):
Do not confuse a multipart message with an epilogue
with a "truncated" one; fixes 2011-06-27 change.

Fixes: debbugs:10101

11 years agoFix shell output retrieval and comint-prompt-regexp init.
Fabián Ezequiel Gallina [Sun, 7 Oct 2012 04:33:16 +0000 (01:33 -0300)]
Fix shell output retrieval and comint-prompt-regexp init.
* progmodes/python.el (inferior-python-mode):
(python-shell-make-comint): Fix initialization of
comint-prompt-regexp from copied file local variables.
(python-shell-fetched-lines): Remove var.
(python-shell-output-filter-in-progress): Rename from
python-shell-fetch-lines-in-progress.
(python-shell-output-filter-buffer): Rename from
python-shell-fetch-lines-string.
(python-shell-fetch-lines-filter): Delete function.
(python-shell-output-filter): New function.
(python-shell-send-string-no-output): Use them.

11 years agoImprove sys_siglist detection.
Paul Eggert [Sun, 7 Oct 2012 02:26:03 +0000 (19:26 -0700)]
Improve sys_siglist detection.

* configure.ac (sys_siglist): Look for its decl in <signal.h>.
Otherwise, it's not found in either Fedora 17 or Solaris 11.
* src/sysdep.c (sys_siglist, init_signals): Use _sys_siglist if it's
defined as a macro, as is done in Solaris.
(sys_siglist_entries): New macro.
(save_strsignal): Use it.
* src/syssignal.h (safe_strsignal): Now ATTRIBUTE_CONST, to pacify
GCC 4.7.2 on Fedora 17 with the fixed sys_siglist detection.

11 years agoRemove tiny change marker for author with assignment
Glenn Morris [Sun, 7 Oct 2012 02:07:46 +0000 (19:07 -0700)]
Remove tiny change marker for author with assignment

11 years ago* lisp/erc/erc-log.el (erc-generate-log-file-name-function): Clarify tags
Deniz Dogan [Sun, 7 Oct 2012 02:05:04 +0000 (19:05 -0700)]
* lisp/erc/erc-log.el (erc-generate-log-file-name-function): Clarify tags

Fixes: debbugs:11186