]> git.eshelyaron.com Git - emacs.git/log
emacs.git
10 years agoExtract python-new-pythonpath to handle PYTHONPATH in user code
Sam Steingold [Wed, 20 Aug 2014 15:33:10 +0000 (11:33 -0400)]
Extract python-new-pythonpath to handle PYTHONPATH in user code

* lisp/progmodes/python.el (python-new-pythonpath): Extract from
`python-shell-calculate-process-environment'.

10 years agoRemove 16-bit limitations in scroll bar position reporting on MS-Windows.
Eli Zaretskii [Wed, 20 Aug 2014 14:41:15 +0000 (17:41 +0300)]
Remove 16-bit limitations in scroll bar position reporting on MS-Windows.

 src/w32term.c (w32_scroll_bar_handle_click)
 (w32_horizontal_scroll_bar_handle_click)
 (x_scroll_bar_report_motion)
 (x_horizontal_scroll_bar_report_motion): For SB_THUMBPOSITION and
 SB_THUMBTRACK, use the 32-bit position information returned by
 GetScrollInfo, not the 16-bit information returned in the Windows
 message sent to us.

10 years agoFix horizontal scroll bar dragging in R2L paragraphs.
Eli Zaretskii [Tue, 19 Aug 2014 15:08:02 +0000 (18:08 +0300)]
Fix horizontal scroll bar dragging in R2L paragraphs.

 src/w32term.c (w32_horizontal_scroll_bar_handle_click): Fix the
 second coordinate ('y') reported for dragging the horizontal
 scroll bar thumb.

10 years ago* xdisp.c (erase_phys_cursor): Fix confusion between window-relative
YAMAMOTO Mitsuharu [Tue, 19 Aug 2014 00:51:33 +0000 (09:51 +0900)]
* xdisp.c (erase_phys_cursor): Fix confusion between window-relative
and text area-relative x-coordinates.

10 years ago* lisp/emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
Thierry Volpiatto [Mon, 18 Aug 2014 19:28:40 +0000 (15:28 -0400)]
* lisp/emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
for &key args.
* emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
(eldoc-function-argstring-format): Remove.
(eldoc-function-argstring): Always return upcase args.
Use help-make-usage.  Don't add parens.
(eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
it's too late to do it right (bug#18048).

10 years agoFix horizontal scrolling in non-selected windows.
Eli Zaretskii [Mon, 18 Aug 2014 14:39:26 +0000 (17:39 +0300)]
Fix horizontal scrolling in non-selected windows.

 lisp/scroll-bar.el (scroll-bar-horizontal-drag-1)
 (scroll-bar-toolkit-horizontal-scroll): When determining the
 paragraph direction, use the buffer of the window designated in
 the event.

10 years agoAvoid overwriting the reversed_p flags in the glyph matrices.
Eli Zaretskii [Sun, 17 Aug 2014 14:58:04 +0000 (17:58 +0300)]
Avoid overwriting the reversed_p flags in the glyph matrices.

 Avoid overwriting the reversed_p flags in the glyph matrices when
 init_iterator or start_display are called.

 src/xdisp.c (init_iterator): Don't initialize the reversed_p flag of
 the glyph row here.
 (tool_bar_height, redisplay_tool_bar, try_window)
 (try_window_reusing_current_matrix, try_window_id)
 (get_overlay_arrow_glyph_row, display_menu_bar): Initialize the
 reversed_p flag of the iterator's glyph row where the glyph row
 is going to be redrawn.

10 years agoHandle missing space marker in unified diff during header fixup
Andreas Schwab [Sat, 16 Aug 2014 19:51:27 +0000 (21:51 +0200)]
Handle missing space marker in unified diff during header fixup

* vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
context of unified diff.

10 years agoAdd dependencies to fix loaddefs race during parallel builds.
Paul Eggert [Sat, 16 Aug 2014 16:50:32 +0000 (09:50 -0700)]
Add dependencies to fix loaddefs race during parallel builds.

Without this, for example, 'make -j bootstrap' can fail and report
"Opening input file: no such file or directory,
.../lisp/calendar/diary-loaddefs.el ... recipe for target
'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
got confused because diary-loaddefs.el was being built in parallel.
* Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
Depend on $(CAL_DIR)/cal-loaddefs.el.
($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.

10 years ago* xdisp.c (set_horizontal_scroll_bar): Don't use uninitialized local.
Paul Eggert [Sat, 16 Aug 2014 16:10:50 +0000 (09:10 -0700)]
* xdisp.c (set_horizontal_scroll_bar): Don't use uninitialized local.

10 years agoPreliminary attempt to fix horizontal scroll bar dragging with bidi text.
Martin Rudalics [Sat, 16 Aug 2014 15:47:38 +0000 (17:47 +0200)]
Preliminary attempt to fix horizontal scroll bar dragging with bidi text.

* w32term.c (w32_horizontal_scroll_bar_handle_click): In y part
of emacs_event return length from si.nPage to si.nMax.
* xdisp.c (set_horizontal_scroll_bar): For right-to-left text
interchange start and end of thumb.
* scroll-bar.el (scroll-bar-horizontal-drag-1): Use cdr of
portion-whole for scrolling right-to-left text.

10 years agoMerge from emacs-24; up to 2014-06-29T18:32:35Z!michael.albinus@gmx.de
Glenn Morris [Fri, 15 Aug 2014 04:34:06 +0000 (21:34 -0700)]
Merge from emacs-24; up to 2014-06-29T18:32:35Z!michael.albinus@gmx.de

10 years agoRegenerate ldefs-boot.el emacs-24.3.93
Glenn Morris [Fri, 15 Aug 2014 04:05:36 +0000 (21:05 -0700)]
Regenerate ldefs-boot.el

10 years agoRegenerate etc/AUTHORS
Glenn Morris [Thu, 14 Aug 2014 20:02:30 +0000 (16:02 -0400)]
Regenerate etc/AUTHORS

10 years agoBump version number to 24.3.93
Glenn Morris [Thu, 14 Aug 2014 19:56:31 +0000 (15:56 -0400)]
Bump version number to 24.3.93

10 years agognus-sum.el (gnus-summary-expire-articles): Reinstall improved version of the 2014...
Alan Schmitt [Thu, 14 Aug 2014 11:31:23 +0000 (11:31 +0000)]
gnus-sum.el (gnus-summary-expire-articles): Reinstall improved version of the 2014-08-05 change

10 years agoSupport Guile backtraces in compilation mode.
Jan Nieuwenhuizen [Wed, 13 Aug 2014 19:17:21 +0000 (21:17 +0200)]
Support Guile backtraces in compilation mode.

* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist):
Add Guile regexpses.

* etc/compilation.txt (file): Add Guile backtrace example.

* test/automated/compile-tests.el (compile--test-error-line):
Grok FILE being nil.  Allows for Guile tests to pass.
(compile-tests--test-regexps-data): Add Guile tests.

10 years agoInitial Guile REPL (guiler) debugger support for GUD.
Jan Nieuwenhuizen [Wed, 13 Aug 2014 19:15:28 +0000 (21:15 +0200)]
Initial Guile REPL (guiler) debugger support for GUD.

* progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
add Guile debugger support for GUD.

10 years agolisp/ChangeLog: Fix a recent log entry.
Eli Zaretskii [Wed, 13 Aug 2014 18:10:15 +0000 (21:10 +0300)]
lisp/ChangeLog: Fix a recent log entry.

10 years agoForgotten ChangeLog changes
Stefan Monnier [Wed, 13 Aug 2014 14:16:48 +0000 (10:16 -0400)]
Forgotten ChangeLog changes

10 years ago* lisp/obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
Stefan Monnier [Wed, 13 Aug 2014 14:15:54 +0000 (10:15 -0400)]
* lisp/obsolete/mouse-sel.el (mouse-sel-mode): Use add/remove-function.
(mouse-sel--ignore): New function.
(mouse-sel-has-been-enabled, mouse-sel-original-bindings)
(mouse-sel-original-interprogram-cut-function)
(mouse-sel-original-interprogram-paste-function): Remove.

10 years ago* erc.el Disable display commands in current buffer, fix case where buffer name is...
Kelvin White [Wed, 13 Aug 2014 13:14:43 +0000 (09:14 -0400)]
* erc.el Disable display commands in current buffer, fix case where buffer name is already set

10 years agoAdd smerge support to the git back end.
Eric S. Raymond [Wed, 13 Aug 2014 08:42:33 +0000 (04:42 -0400)]
Add smerge support to the git back end.

10 years agoIntegrate Rüdiger Sonderfeld's code for detecting conflicted files under git.
Eric S. Raymond [Wed, 13 Aug 2014 08:05:45 +0000 (04:05 -0400)]
Integrate Rüdiger Sonderfeld's code for detecting conflicted files under git.

10 years ago* speedbar.el (speedbar-generic-list-tag-p): Allow special
Leo Liu [Wed, 13 Aug 2014 03:21:43 +0000 (11:21 +0800)]
* speedbar.el (speedbar-generic-list-tag-p): Allow special
elements from imenu.

10 years ago* lisp/mpc.el (mpc-reorder): Don't bother splitting the "active" elements
Stefan Monnier [Tue, 12 Aug 2014 16:16:00 +0000 (12:16 -0400)]
* lisp/mpc.el (mpc-reorder): Don't bother splitting the "active" elements
to the first part if they're the same as the selection.

10 years agoAllow resetting image transform options
Lars Magne Ingebrigtsen [Tue, 12 Aug 2014 14:16:45 +0000 (16:16 +0200)]
Allow resetting image transform options

* image-mode.el (image-transform-reset): New command and menu item.
(image-mode-map): Rearrange the menu items to put presumably more
obscure items at the end.

10 years agoIn set_menu_bar_lines call change_frame_size instead of set_menu_bar_lines_1.
Martin Rudalics [Tue, 12 Aug 2014 09:47:27 +0000 (11:47 +0200)]
In set_menu_bar_lines call change_frame_size instead of set_menu_bar_lines_1.

* frame.c (set_menu_bar_lines_1): Remove.
(set_menu_bar_lines): Call change_frame_size instead of
set_menu_bar_lines_1.

10 years ago* lisp/vc/vc-annotate.el (vc-annotate-background-mode): Use `with-demoted-errors'
Juri Linkov [Tue, 12 Aug 2014 06:51:21 +0000 (09:51 +0300)]
* lisp/vc/vc-annotate.el (vc-annotate-background-mode): Use `with-demoted-errors'
instead of `ignore-errors'.

Fixes: debbugs:18189
10 years ago* lisp/erc/erc-stamp.el (erc-timestamp-intangible): Disable by default because
Stefan Monnier [Tue, 12 Aug 2014 02:56:28 +0000 (22:56 -0400)]
* lisp/erc/erc-stamp.el (erc-timestamp-intangible): Disable by default because
`intangible' is evil.

10 years ago* lisp/gnus/gnus-art.el (gnus-hidden-properties): Drop the evil `intangible'.
Stefan Monnier [Tue, 12 Aug 2014 02:47:36 +0000 (22:47 -0400)]
* lisp/gnus/gnus-art.el (gnus-hidden-properties): Drop the evil `intangible'.

10 years ago* lisp/files.el (out-of-memory-warning-percentage): Turn it off by default.
Stefan Monnier [Tue, 12 Aug 2014 02:35:24 +0000 (22:35 -0400)]
* lisp/files.el (out-of-memory-warning-percentage): Turn it off by default.

10 years agoSet sgml-validate-command based on validator existence
Sam Steingold [Mon, 11 Aug 2014 20:15:59 +0000 (16:15 -0400)]
Set sgml-validate-command based on validator existence

* lisp/textmodes/sgml-mode.el (sgml-validate-command): Set depending on
the presence of known validators (tidy, (o)nsgmls).

10 years agoNewsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)
Ulf Jasper [Mon, 11 Aug 2014 18:08:13 +0000 (20:08 +0200)]
Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)

2014-08-11  Ulf Jasper  <ulf.jasper@web.de>

Newsticker: introduce `newsticker-treeview-date-format'. (Bug#17227)

* net/newst-treeview.el (newsticker-treeview-date-format): New.
(newsticker--treeview-list-add-item): Use `newsticker-treeview-date-format'.

10 years ago* src/gmalloc.c (_malloc_mutex, _aligned_blocks_mutex) [CYGWIN]: Use ERRORCHECK mutex...
Ken Brown [Mon, 11 Aug 2014 15:25:08 +0000 (11:25 -0400)]
* src/gmalloc.c (_malloc_mutex, _aligned_blocks_mutex) [CYGWIN]: Use ERRORCHECK mutexes.  (Bug#18222)

10 years agoFix default width not being 80, but 77.
Jan Djärv [Mon, 11 Aug 2014 13:16:31 +0000 (15:16 +0200)]
Fix default width not being 80, but 77.

* nsfns.m (Fx_create_frame): Call adjust_frame_size,
set f->official.

10 years ago* lisp/subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
Glenn Morris [Mon, 11 Aug 2014 01:13:38 +0000 (18:13 -0700)]
* lisp/subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.

10 years agoMerge from emacs-24; up to 2014-06-28T23:35:17Z!rgm@gnu.org
Glenn Morris [Mon, 11 Aug 2014 00:59:34 +0000 (17:59 -0700)]
Merge from emacs-24; up to 2014-06-28T23:35:17Z!rgm@gnu.org

10 years agoChangeLog fixes
Glenn Morris [Mon, 11 Aug 2014 00:50:31 +0000 (17:50 -0700)]
ChangeLog fixes

10 years ago* lisp/calendar/icalendar.el: Add missing :version tags for new defcustoms.
Glenn Morris [Mon, 11 Aug 2014 00:47:10 +0000 (17:47 -0700)]
* lisp/calendar/icalendar.el: Add missing :version tags for new defcustoms.

10 years ago* leim/quail/latin-post.el: Transform " __" into " _".
Grégoire Jadi [Mon, 11 Aug 2014 00:43:33 +0000 (17:43 -0700)]
* leim/quail/latin-post.el: Transform " __" into " _".

Fixes: debbugs:18023
10 years agoRevert 2013-01-31 change that decides coding system before backing up
Glenn Morris [Mon, 11 Aug 2014 00:38:19 +0000 (17:38 -0700)]
Revert 2013-01-31 change that decides coding system before backing up

It causes a more serious problem than the one it solves.
This closes bug#18141, and reopens bug#13522.

* lisp/files.el (basic-save-buffer-2): Revert 2013-01-31 change.

* src/fileio.c: Revert 2013-01-31 change.
(choose_write_coding_system): No longer callable from Lisp.
Move last piece back here from Fwrite_region.
(Fwrite_region, syms_of_fileio): Update for above changes.

* test/automated/data/files-bug18141.el.gz: New file.
* test/automated/files.el (files-test-bug-18141-file):
New variable and test.

10 years agoSimplify previous patch.
Paul Eggert [Sun, 10 Aug 2014 21:06:07 +0000 (14:06 -0700)]
Simplify previous patch.

Fixes: debbugs:18232
10 years agoDon't prevent random file systems from being unmounted.
Paul Eggert [Sun, 10 Aug 2014 20:40:57 +0000 (13:40 -0700)]
Don't prevent random file systems from being unmounted.

This fix relies on having the 'fchdir' function, and on having
"." be searchable (or at least readable, on platforms lacking O_SEARCH),
but that's good enough to handle the vast majority of cases and the
remaining folks can just live with the annoyance of file systems
that occasionally can't be unmounted.
* configure.ac (fchdir): New function to check for.
* lib/save-cwd.c: Copy from gnulib, except omit the part that
allocates memory, since that can cause problems in Emacs.
* lib/save-cwd.h: Copy from gnulib.

Fixes: debbugs:18232
10 years agoiCalendar export: Enumerate evaluated sexp diary entries (Bug#7911).
Ulf Jasper [Sun, 10 Aug 2014 17:48:51 +0000 (19:48 +0200)]
iCalendar export: Enumerate evaluated sexp diary entries (Bug#7911).

2014-08-10  Ulf Jasper  <ulf.jasper@web.de>

Enumerate evaluated sexp diary entries (Bug#7911).

* calendar/icalendar.el (icalendar-export-sexp-enumerate-all)
(icalendar-export-sexp-enumeration-days): New
(icalendar-export-region): `icalendar--convert-to-ical' now
returns a cons cell or a list of cons cells.
(icalendar--convert-to-ical): Take care of
`icalendar-export-sexp-enumerate-all'. Return (a list of) cons
cells.
(icalendar--convert-ordinary-to-ical),
(icalendar--convert-weekly-to-ical),
(icalendar--convert-yearly-to-ical),
(icalendar--convert-block-to-ical),
(icalendar--convert-block-to-ical),
(icalendar--convert-float-to-ical),
(icalendar--convert-cyclic-to-ical),
(icalendar--convert-anniversary-to-ical): Return cons cell.
(icalendar--convert-sexp-to-ical): Enumerate evaluated sexp
entries. Return (list of) cons cells.

2014-08-10  Ulf Jasper  <ulf.jasper@web.de>

Enumerate evaluated sexp diary entries (Bug#7911).

* automated/icalendar-tests.el
(icalendar--convert-anniversary-to-ical),
(icalendar--convert-cyclic-to-ical),
(icalendar--convert-block-to-ical),
(icalendar--convert-yearly-to-ical),
(icalendar--convert-weekly-to-ical),
(icalendar--convert-ordinary-to-ical): Returns cons cell now.
(icalendar--convert-to-ical),
(icalendar--convert-sexp-to-ical): New tests.

10 years agoFix a couple of recent inadvertent breaks of the MSDOS port.
Reuben Thomas [Sun, 10 Aug 2014 16:28:36 +0000 (17:28 +0100)]
Fix a couple of recent inadvertent breaks of the MSDOS port.

src/msdos.c: include required menu.h
src/term.c: set correct menu_show_hook on MSDOS.

10 years agoconfig.bat: fix some confusing wording
Reuben Thomas [Sun, 10 Aug 2014 16:23:05 +0000 (17:23 +0100)]
config.bat: fix some confusing wording

10 years agoMake doc-string of window-total-size more self-contained.
Martin Rudalics [Sun, 10 Aug 2014 10:41:28 +0000 (12:41 +0200)]
Make doc-string of window-total-size more self-contained.

* window.el (window-total-size): Make doc-string more
self-contained.

10 years agoFix handling of menu bar line on TTY frames (Bug#18136) (Bug#18196).
Martin Rudalics [Sun, 10 Aug 2014 08:26:28 +0000 (10:26 +0200)]
Fix handling of menu bar line on TTY frames (Bug#18136) (Bug#18196).

* dispnew.c (handle_window_change_signal):
* keyboard.c (Fsuspend_emacs): Call change_frame_size with
frame's menu bar lines subtracted from height.
* frame.c (frame_inhibit_resize): Inhibit resizing of TTY
frames.
(adjust_frame_size): Count in menu bar when setting FrameRows.
(make_terminal_frame): When setting up the frame's lines and
text height don't count in the menu bar.
(Fmake_terminal_frame): Call adjust_frame_size with menu bar
lines subtracted from height.
(do_switch_frame): Set tty's FrameRows to number of total lines
of frame.
(Fframe_pixel_height, Fframe_pixel_width): If no window system
is used, return total number of lines and columns.
* menu.c (emulate_dialog_with_menu): Use FRAME_TOTAL_LINES instead
of FRAME_LINES.
* term.c (OUTPUT, tty_set_terminal_modes)
(tty_set_terminal_window, tty_set_scroll_region)
(tty_clear_to_end, tty_write_glyphs, tty_write_glyphs_with_face)
(tty_ins_del_lines, tty_menu_display, tty_menu_activate): Use
FRAME_TOTAL_LINES instead of FRAME_LINES.
(Fresume_tty): Use FRAME_TOTAL_LINES instead of FRAME_LINES.
Call change_frame_size with frame's menu bar lines subtracted
from height.
* w32console.c (w32con_clear_to_end, w32con_clear_frame)
(w32con_ins_del_lines): Use FRAME_TOTAL_LINES instead of
FRAME_LINES.

10 years ago* lisp/vc/vc-annotate.el (vc-annotate-background-mode): Add :set
Juri Linkov [Sat, 9 Aug 2014 23:55:39 +0000 (02:55 +0300)]
* lisp/vc/vc-annotate.el (vc-annotate-background-mode): Add :set
to reevaluate `vc-annotate-color-map'.

Fixes: debbugs:18189
10 years agosrc/alloc.c: remove a stray brace
Reuben Thomas [Sat, 9 Aug 2014 21:50:14 +0000 (22:50 +0100)]
src/alloc.c: remove a stray brace

10 years agoprogmodes/cc-fonts.el (c-font-lock-declarators): Remove check for
Alan Mackenzie [Sat, 9 Aug 2014 20:54:04 +0000 (20:54 +0000)]
progmodes/cc-fonts.el (c-font-lock-declarators): Remove check for
top-level that can cause unacceptable slow-down in scrolling.
See email Subject: Huge {...} blocks in C/C++ again, from Dmitry Antipov
from 2013-10-14 in emacs-devel.

10 years agoMinor fixes in the last commit wrt MS-DOS build.
Eli Zaretskii [Sat, 9 Aug 2014 18:48:45 +0000 (21:48 +0300)]
Minor fixes in the last commit wrt MS-DOS build.

 config.bat: Fix EOL format in lines modified by last commit.

 msdos/INSTALL: Fix last change.

10 years agoAdd changelog entry missing from previous commit
Reuben Thomas [Sat, 9 Aug 2014 16:59:43 +0000 (17:59 +0100)]
Add changelog entry missing from previous commit

10 years agoIn display-buffer-below-selected reuse window below selected if it shows buffer alrea...
Martin Rudalics [Sat, 9 Aug 2014 16:50:13 +0000 (18:50 +0200)]
In display-buffer-below-selected reuse window below selected if it shows buffer already (Bug#18181).

* window.el (display-buffer-below-selected): Restore original
behavior if buffer is already displayed in the window below the
selected one (Bug#18181).

10 years agosrc/process.c: fix a comment typo
Reuben Thomas [Sat, 9 Aug 2014 16:20:29 +0000 (17:20 +0100)]
src/process.c: fix a comment typo

10 years agoRemove support for DJGPP < 2.02
Reuben Thomas [Sat, 9 Aug 2014 16:12:33 +0000 (17:12 +0100)]
Remove support for DJGPP < 2.02

This also removes some specially-licensed files and lots of accompanying
explanation.

10 years agoSecond attempt to fix some doc-strings in window.c.
Martin Rudalics [Sat, 9 Aug 2014 11:12:45 +0000 (13:12 +0200)]
Second attempt to fix some doc-strings in window.c.

* window.c (Fwindow_new_total, Fwindow_new_normal)
(Fwindow_new_pixel, Fset_window_new_pixel)
(Fset_window_new_total, Fset_window_new_normal): Second attempt
to fix the doc-strings of these functions.  See:
http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-08/msg00287.html

10 years ago* widget.c (DEFAULT_FACE_FONT, EmacsFrameSetValues, setup_frame_gcs)
Jan Djärv [Sat, 9 Aug 2014 09:06:25 +0000 (11:06 +0200)]
* widget.c (DEFAULT_FACE_FONT, EmacsFrameSetValues, setup_frame_gcs)
(resources, setup_frame_cursor_bits): Remove unused variables and
functions, esp. wrt. font.

* widgetprv.h (EmacsFramePart): Remove font.

Fixes: debbugs:18227
10 years agoMerge from gnulib.
Paul Eggert [Sat, 9 Aug 2014 06:57:59 +0000 (23:57 -0700)]
Merge from gnulib.

This incorporates:
2014-08-07 getdtablesize: fall back on sysconf (_SC_OPEN_MAX)
2014-08-05 sys_select: fix FD_ZERO problem on Solaris 10
* lib/getdtablesize.c, lib/sys_select.in.h: Update from gnulib.

10 years ago* lisp/mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
Stefan Monnier [Fri, 8 Aug 2014 16:56:50 +0000 (12:56 -0400)]
* lisp/mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
event.

Fixes: debbugs:18212
10 years agoibuffer.el (ibuffer-mode-map): Use toggle button for
Rüdiger Sonderfeld [Fri, 8 Aug 2014 14:35:40 +0000 (16:35 +0200)]
ibuffer.el (ibuffer-mode-map): Use toggle button for
`ibuffer-auto-mode' menu entry.
(ibuffer-mode-hook): Add `ibuffer-auto-mode' customization option.

10 years agolisp/ChangeLog: Fix last entry.
Rüdiger Sonderfeld [Fri, 8 Aug 2014 14:05:16 +0000 (16:05 +0200)]
lisp/ChangeLog: Fix last entry.

I did not realize that a bug was filed for that patch.  Also "make"
instead of "made".

10 years agolisp/info.el (info): Doc fix.
Eli Zaretskii [Fri, 8 Aug 2014 13:53:55 +0000 (16:53 +0300)]
lisp/info.el (info): Doc fix.

10 years agoprogmodes/prog-mode.el (prog-mode-hook): Made customizable.
Matthias Meulien [Fri, 8 Aug 2014 13:51:47 +0000 (15:51 +0200)]
progmodes/prog-mode.el (prog-mode-hook): Made customizable.

https://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00353.html

10 years agoFix some doc-strings in window.c (Bug#18112) (Bug#18194).
Martin Rudalics [Fri, 8 Aug 2014 09:52:59 +0000 (11:52 +0200)]
Fix some doc-strings in window.c (Bug#18112) (Bug#18194).

* window.c (Fwindow_valid_p): Fix doc-string (Bug#18194).
(Fwindow_new_total, Fwindow_normal_size, Fwindow_new_normal)
(Fwindow_new_pixel, Fset_window_new_pixel)
(Fset_window_new_total, Fset_window_new_normal)
(Fwindow_resize_apply): Fix doc-strings (see Bug#18112).

10 years agoFix typos in TUTORIAL.fr
Bastien Guerry [Fri, 8 Aug 2014 05:20:52 +0000 (07:20 +0200)]
Fix typos in TUTORIAL.fr

10 years ago* lisp/info.el (Info-mode-map): Override a global down-mouse-2 binding.
Stefan Monnier [Thu, 7 Aug 2014 18:35:54 +0000 (14:35 -0400)]
* lisp/info.el (Info-mode-map): Override a global down-mouse-2 binding.

Fixes: debbugs:18212
10 years ago* lisp/erc/erc.el: rename server buffers and fix variable names
Kelvin White [Thu, 7 Aug 2014 16:44:19 +0000 (12:44 -0400)]
* lisp/erc/erc.el: rename server buffers and fix variable names

10 years agoFix bug #18162 with assertion violations due to empty face cache.
Eli Zaretskii [Thu, 7 Aug 2014 15:18:10 +0000 (18:18 +0300)]
Fix bug #18162 with assertion violations due to empty face cache.

 src/fontset.c (Finternal_char_font): Recompute basic faces if the
 frame's face cache was cleared.

10 years agoIn window--min-size-1 set WINDOW arg when calling window-min-pixel-height/-width.
Martin Rudalics [Thu, 7 Aug 2014 14:34:06 +0000 (16:34 +0200)]
In window--min-size-1 set WINDOW arg when calling window-min-pixel-height/-width.

* window.el (window--min-size-1): Explicitly set WINDOW arg in
calls of window-min-pixel-height and window-min-pixel-width.

10 years ago* xterm.c (x_delete_terminal): Plug file descriptor leak.
Paul Eggert [Thu, 7 Aug 2014 14:17:03 +0000 (07:17 -0700)]
* xterm.c (x_delete_terminal): Plug file descriptor leak.

Fixes: debbugs:17691
10 years agoRemove remaining mentions of VMS as a host
Reuben Thomas [Thu, 7 Aug 2014 11:49:36 +0000 (12:49 +0100)]
Remove remaining mentions of VMS as a host

* notes/exit-value: Remove specific discussion of VMS.
* doc/emacs/programs.texi (Program Modes): Don't advertise VMS DCL support
any more.
* doc/misc/ediff.texi (Merging and diff3): Don't mention lack of support
for VMS diff, we no longer support VMS.
* lisp/progmodes/ada-mode.el:
* lisp/net/tramp.el (tramp-handle-file-symlink-p):
* lisp/net/tramp-ftp.el (tramp-ftp-file-name-handler): Remove a comment
about VMS, which we no longer support.
* lisp/progmodes/ada-xref.el (ada-xref-current): Remove mention of VMS,
and fix a FIXME, using convert-standard-filename in place of
removed ada-convert-file-name.
* lisp/url/url-handlers.el: Remove a comment about VMS, which we no longer
support.

10 years agoFix a few ``MS-DOG''s overlooked in the previous commit.
Reuben Thomas [Thu, 7 Aug 2014 10:15:52 +0000 (11:15 +0100)]
Fix a few ``MS-DOG''s overlooked in the previous commit.

* README: ``MSDOG'' becomes ``MS-DOS''.
* lisp/arc-mode.el: Fix a couple of ``MS-DOG''s missed in the previous
commit.
* lisp/file-mode.el: ditto.
* src/editfns.c: Fix a couple of ``MS-DOG''s missed in the previous commit.
* src/xfaces.c: ditto.

10 years agoRefer to MS-DOS using the same name everywhere.
Reuben Thomas [Thu, 7 Aug 2014 09:55:09 +0000 (10:55 +0100)]
Refer to MS-DOS using the same name everywhere.

* admin/FOR-RELEASE: ``MS-DOG'', ``MSDOG'' and ``msdog'' become
``MS-DOS''; ``msdog'' in filenames becomes ``msdos''.
* admin/MAINTAINERS: ditto.
* doc/emacs/Makefile.in (EMACSSOURCES): ditto.
* doc/emacs/emacs-xtra.texi: ditto.
* doc/emacs/emacs.texi: ditto.
* doc/emacs/makefile.w32-in: ditto.
* doc/emacs/msdog-xtra.texi: ditto, and rename file.
* doc/emacs/msdog.texi: ditto, and rename file.
* lisp/arc-mode.el: ditto.
* lisp/frame.el: ditto.

10 years ago* tramp.texi (Remote shell setup): Explain, how to change command
Michael Albinus [Thu, 7 Aug 2014 09:15:44 +0000 (11:15 +0200)]
* tramp.texi (Remote shell setup): Explain, how to change command
line arguments of remote "nc" listener.

10 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Michael Albinus [Thu, 7 Aug 2014 09:13:54 +0000 (11:13 +0200)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Use cached "remote-copy-args" value, if available.

10 years ago* lisp/help.el (temp-buffer-setup-hook,temp-buffer-show-hook): Revert
Leo Liu [Thu, 7 Aug 2014 03:25:09 +0000 (11:25 +0800)]
* lisp/help.el (temp-buffer-setup-hook,temp-buffer-show-hook): Revert
change on 2014-03-22.

10 years ago* test/automated/Makefile.in (check-tar): Remove, no longer needed.
Glenn Morris [Thu, 7 Aug 2014 00:08:57 +0000 (17:08 -0700)]
* test/automated/Makefile.in (check-tar): Remove, no longer needed.

No need to merge this to trunk.

10 years ago* test/automated/Makefile.in (check-tar): Remove, hydra recipe does it now.
Glenn Morris [Thu, 7 Aug 2014 00:07:32 +0000 (17:07 -0700)]
* test/automated/Makefile.in (check-tar): Remove, hydra recipe does it now.

10 years agoFix Bug#15408 (icalendar time zone problem)
Ulf Jasper [Wed, 6 Aug 2014 18:19:34 +0000 (20:19 +0200)]
Fix Bug#15408 (icalendar time zone problem)

2014-07-30 Christophe Deleuze <christophe.deleuze@free.fr>

* calendar/icalendar.el (icalendar--decode-isodatetime): Use
actual current-time-zone when converting to local time. (Bug#15408)

2014-07-30  Ulf Jasper  <ulf.jasper@web.de>

* automated/icalendar-tests.el (icalendar--decode-isodatetime): New test.

10 years agosrc/coding.c: Fix typos in comments and doc strings.
Eli Zaretskii [Wed, 6 Aug 2014 17:37:22 +0000 (20:37 +0300)]
src/coding.c: Fix typos in comments and doc strings.

10 years agognus-sum.el (gnus-summary-expire-articles): Revert last change
Katsumi Yamaoka [Wed, 6 Aug 2014 11:14:08 +0000 (11:14 +0000)]
gnus-sum.el (gnus-summary-expire-articles): Revert last change

10 years ago* gnus-sum.el (gnus-summary-expire-articles): Functions registered to
Eric Abrahamsen [Wed, 6 Aug 2014 00:33:37 +0000 (00:33 +0000)]
* gnus-sum.el (gnus-summary-expire-articles): Functions registered to
the gnus-summary-article-expire-hook should be told where the function
is going. In particular, the Gnus registry might want to know.

10 years agolisp/gnus/ChangeLog (2014-07-31): Add missing entry
Tassilo Horn [Wed, 6 Aug 2014 00:31:29 +0000 (00:31 +0000)]
lisp/gnus/ChangeLog (2014-07-31): Add missing entry

10 years agolisp/ChangeLog: Fix a typo in last entry.
Eli Zaretskii [Tue, 5 Aug 2014 19:01:51 +0000 (22:01 +0300)]
lisp/ChangeLog: Fix a typo in last entry.

10 years agoUse a max-width when displaying images
Lars Magne Ingebrigtsen [Tue, 5 Aug 2014 18:18:39 +0000 (20:18 +0200)]
Use a max-width when displaying images

* lisp/image-mode.el (image-toggle-display-image): Alway rescale images
to not be bigger than the current window.

10 years agolisp/net/eww.el (eww-bookmarks-directory): New variable.
Eric Brown [Tue, 5 Aug 2014 18:15:52 +0000 (20:15 +0200)]
lisp/net/eww.el (eww-bookmarks-directory): New variable.

* lisp/net/eww.el (eww-bookmarks-directory): New variable.
(eww-write-bookmarks): Use it.
(eww-read-bookmarks): Ditto.

10 years ago* lisp/net/shr.el (shr-copy-url): Also copy the image URL.
Lars Magne Ingebrigtsen [Tue, 5 Aug 2014 18:15:03 +0000 (20:15 +0200)]
* lisp/net/shr.el (shr-copy-url): Also copy the image URL.

* lisp/net/shr.el (shr-copy-url): Also copy the image URL.

10 years agoFix bug #18195 with inaccurate results from window-screen-lines.
Eli Zaretskii [Tue, 5 Aug 2014 13:34:06 +0000 (16:34 +0300)]
Fix bug #18195 with inaccurate results from window-screen-lines.

 lisp/simple.el (default-line-height): A floating-point value of
 line-spacing means a fraction of the default frame font's height,
 not of the font currently used by the 'default' face.  Truncate
 the pixel value, like the display engine does.
 (window-screen-lines): Use window-inside-pixel-edges for
 determining the window height in pixels.

10 years agoDon't redeem scroll bars that have been turned off.
Martin Rudalics [Tue, 5 Aug 2014 08:25:28 +0000 (10:25 +0200)]
Don't redeem scroll bars that have been turned off.

* w32term.c (w32_redeem_scroll_bar):
* xterm.c (XTredeem_scroll_bar): Revert part of last change by
not redeeming scroll bars that have been turned off.

10 years agoFix typo in last commit.
Michael Albinus [Tue, 5 Aug 2014 08:24:47 +0000 (10:24 +0200)]
Fix typo in last commit.

10 years ago* net/tramp-cache.el (tramp-flush-file-function): Suppress function
Michael Albinus [Tue, 5 Aug 2014 08:13:28 +0000 (10:13 +0200)]
* net/tramp-cache.el (tramp-flush-file-function): Suppress function
also for Tramp working buffers.

10 years agoFix bug with uninitialized undo list of an indirect buffer (Bug#18180).
Dmitry Antipov [Tue, 5 Aug 2014 06:04:38 +0000 (10:04 +0400)]
Fix bug with uninitialized undo list of an indirect buffer (Bug#18180).
* buffer.c (Fmake_indirect_buffer): Initialize undo list with the
base buffer's undo list.

10 years ago* keyboard.c (safe_run_hooks): Follow the convenient style to bind
Dmitry Antipov [Tue, 5 Aug 2014 05:43:35 +0000 (09:43 +0400)]
* keyboard.c (safe_run_hooks): Follow the convenient style to bind
inhibit-quit to t and pass 2 args to safe_run_hook_funcall.  See
<http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00077.html>.
(safe_run_hook_funcall): Adjust accordingly.

10 years ago* lisp/progmodes/python.el: Fix completions inside (i)pdb.
Fabián Ezequiel Gallina [Mon, 4 Aug 2014 21:35:17 +0000 (18:35 -0300)]
* lisp/progmodes/python.el: Fix completions inside (i)pdb.
(python-shell-completion-pdb-string-code): Make obsolete.
(python-shell-completion-get-completions): Use
python-shell-completion-string-code resending setup code
continuously for (i)pdb.

10 years agoMerge from gnulib, incorporating:
Paul Eggert [Mon, 4 Aug 2014 18:44:49 +0000 (11:44 -0700)]
Merge from gnulib, incorporating:

2014-08-04 extern-inline: port to FreeBSD, DragonFly
* lib/gnulib.mk: Regenerate (comment change only).
* m4/extern-inline.m4: Update from gnulib.

10 years agoFix scroll bar handling for non-toolkit builds.
Martin Rudalics [Mon, 4 Aug 2014 16:47:27 +0000 (18:47 +0200)]
Fix scroll bar handling for non-toolkit builds.

* frame.h (FRAME_HAS_HORIZONTAL_SCROLL_BARS): Condition
correctly according to toolkit used.
* frame.c (make_initial_frame, make_terminal_frame)
(x_set_horizontal_scroll_bars, x_set_scroll_bar_height)
(Vdefault_frame_horizontal_scroll_bars): Correctly condition
assignments according to presence of toolkit scrollbars.
* window.h (WINDOW_HAS_HORIZONTAL_SCROLL_BAR): Condition
correctly according to toolkit used.
* window.c (set_window_scroll_bars): Set horizontal scroll bar
only if toolkit supports it.
* w32term.c (w32_redeem_scroll_bar): Always redeem scroll bar if
present.
* xterm.c (x_scroll_bar_create): Initialize horizontal slot for
non-toolkit builds.
(XTredeem_scroll_bar): Always redeem scroll bar if present.

10 years ago* rect.el (rectangle--default-line-number-format): Rename
Paul Eggert [Mon, 4 Aug 2014 06:27:14 +0000 (23:27 -0700)]
* rect.el (rectangle--default-line-number-format): Rename

from misspelled rectange--default-line-number-format (Bug#18045).
All uses changed.

10 years ago* keyboard.c (safe_run_hook_funcall): Avoid consing around
Dmitry Antipov [Mon, 4 Aug 2014 04:03:31 +0000 (08:03 +0400)]
* keyboard.c (safe_run_hook_funcall): Avoid consing around
Vinhibit_quit and prefer internal_condition_case_n to pass args.
(safe_run_hooks_error, safe_run_hooks_1): Adjust accordingly.
(safe_run_hooks): Remove comment which is not relevant any more.