1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 12:20:39 -08:00
Commit graph

117132 commits

Author SHA1 Message Date
Ken Brown
58e6bac86f * configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the Cygwin-w32 build. (Bug#18302) 2014-08-21 17:52:26 -04:00
Eli Zaretskii
8ab2588c9d Fix a bug in texinfo-make-menu.
lisp/textmodes/texnfo-upd.el (texinfo-specific-section-type): Don't
 recognize a Top node if there are other sectioning commands
 earlier in the Texinfo file.  This fixes a bug in
 texinfo-make-menu and avoids inflooping in
 texinfo-all-menus-update when they are invoked on texinfo.texi.
2014-08-21 18:07:13 +03:00
Martin Rudalics
b360b106e9 Handle failed attempts to split a side window (Bug#18304).
* window.el (window--side-window-p): New function.
(split-window, window-splittable-p): Use window--side-window-p to
determine whether WINDOW can be split (Bug#18304).
* calendar/calendar.el (calendar-basic-setup): Fix one call of
`window-splittable-p' and add another (Bug#18304).
2014-08-21 10:40:29 +02:00
Glenn Morris
8dc52a1a45 ChangeLog fix
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01038.html
2014-08-20 16:07:00 -04:00
Sam Steingold
3f05baa175 Extract python-new-pythonpath to handle PYTHONPATH in user code
* lisp/progmodes/python.el (python-new-pythonpath): Extract from
`python-shell-calculate-process-environment'.
2014-08-20 11:33:10 -04:00
Eli Zaretskii
a558cd1cc4 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.
2014-08-20 17:41:15 +03:00
Eli Zaretskii
d470a23c95 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.
2014-08-19 18:08:02 +03:00
YAMAMOTO Mitsuharu
8de8f9b5cc * xdisp.c (erase_phys_cursor): Fix confusion between window-relative
and text area-relative x-coordinates.
2014-08-19 09:51:33 +09:00
Thierry Volpiatto
2e7d4343e9 * 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).
2014-08-18 15:28:40 -04:00
Eli Zaretskii
a8626b7ec1 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.
2014-08-18 17:39:26 +03:00
Eli Zaretskii
39125b2248 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.
2014-08-17 17:58:04 +03:00
Andreas Schwab
52e7a5b99f 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.
2014-08-16 21:51:27 +02:00
Paul Eggert
3bcff29cea 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.
2014-08-16 09:50:32 -07:00
Paul Eggert
2b4c15d829 * xdisp.c (set_horizontal_scroll_bar): Don't use uninitialized local. 2014-08-16 09:10:50 -07:00
Martin Rudalics
266821b087 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.
2014-08-16 17:47:38 +02:00
Glenn Morris
ed30c57cc9 Merge from emacs-24; up to 2014-06-29T18:32:35Z!michael.albinus@gmx.de 2014-08-14 21:34:06 -07:00
Glenn Morris
315865d31d Regenerate ldefs-boot.el 2014-08-14 21:05:36 -07:00
Glenn Morris
dc01bc857a Regenerate etc/AUTHORS 2014-08-14 16:02:30 -04:00
Glenn Morris
64a6f1f30e Bump version number to 24.3.93 2014-08-14 15:56:31 -04:00
Alan Schmitt
b9558683e3 gnus-sum.el (gnus-summary-expire-articles): Reinstall improved version of the 2014-08-05 change 2014-08-14 11:31:23 +00:00
Jan Nieuwenhuizen
8f944212cf 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.
2014-08-13 21:17:21 +02:00
Jan Nieuwenhuizen
01fe01d59e Initial Guile REPL (guiler) debugger support for GUD.
* progmodes/gud.el (guiler): New function.  Starts the Guile REPL;
	add Guile debugger support for GUD.
2014-08-13 21:15:28 +02:00
Eli Zaretskii
995be0785e lisp/ChangeLog: Fix a recent log entry. 2014-08-13 21:10:15 +03:00
Stefan Monnier
de34d6b400 Forgotten ChangeLog changes 2014-08-13 10:16:48 -04:00
Stefan Monnier
43a85f2dd1 * 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.
2014-08-13 10:15:54 -04:00
Kelvin White
92180ebd2e * erc.el Disable display commands in current buffer, fix case where buffer name is already set 2014-08-13 09:14:43 -04:00
Eric S. Raymond
b5354531ba Add smerge support to the git back end. 2014-08-13 04:42:33 -04:00
Eric S. Raymond
2cc441ecbf Integrate Rüdiger Sonderfeld's code for detecting conflicted files under git. 2014-08-13 04:05:45 -04:00
Leo Liu
e131e4ffae * speedbar.el (speedbar-generic-list-tag-p): Allow special
elements from imenu.
2014-08-13 11:21:43 +08:00
Stefan Monnier
c1677234a3 * lisp/mpc.el (mpc-reorder): Don't bother splitting the "active" elements
to the first part if they're the same as the selection.
2014-08-12 12:16:00 -04:00
Lars Magne Ingebrigtsen
9e6adaec87 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.
2014-08-12 16:16:45 +02:00
Martin Rudalics
bd4de70f13 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.
2014-08-12 11:47:27 +02:00
Juri Linkov
e024465e2d * lisp/vc/vc-annotate.el (vc-annotate-background-mode): Use `with-demoted-errors'
instead of `ignore-errors'.

Fixes: debbugs:18189
2014-08-12 09:51:21 +03:00
Stefan Monnier
f957571882 * lisp/erc/erc-stamp.el (erc-timestamp-intangible): Disable by default because
`intangible' is evil.
2014-08-11 22:56:28 -04:00
Stefan Monnier
dfd4d9b742 * lisp/gnus/gnus-art.el (gnus-hidden-properties): Drop the evil `intangible'. 2014-08-11 22:47:36 -04:00
Stefan Monnier
eb7b19f013 * lisp/files.el (out-of-memory-warning-percentage): Turn it off by default. 2014-08-11 22:35:24 -04:00
Sam Steingold
70276d32c7 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).
2014-08-11 16:15:59 -04:00
Ulf Jasper
26b49dfa0c 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'.
2014-08-11 20:08:13 +02:00
Ken Brown
2b0cb8b177 * src/gmalloc.c (_malloc_mutex, _aligned_blocks_mutex) [CYGWIN]: Use ERRORCHECK mutexes. (Bug#18222) 2014-08-11 11:25:08 -04:00
Jan Djärv
fe2f33e8da Fix default width not being 80, but 77.
* nsfns.m (Fx_create_frame): Call adjust_frame_size,
set f->official.
2014-08-11 15:16:31 +02:00
Glenn Morris
727f37e6cc * lisp/subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual. 2014-08-10 18:13:38 -07:00
Glenn Morris
c7367d2de3 Merge from emacs-24; up to 2014-06-28T23:35:17Z!rgm@gnu.org 2014-08-10 17:59:34 -07:00
Glenn Morris
6b7d077506 ChangeLog fixes 2014-08-10 17:50:31 -07:00
Glenn Morris
ba04cd78ac * lisp/calendar/icalendar.el: Add missing :version tags for new defcustoms. 2014-08-10 17:47:10 -07:00
Grégoire Jadi
1dd7098709 * leim/quail/latin-post.el: Transform " __" into " _".
Fixes: debbugs:18023
2014-08-10 17:43:33 -07:00
Glenn Morris
f314e84fce 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.
2014-08-10 17:38:19 -07:00
Paul Eggert
db2f09ab1b Simplify previous patch.
Fixes: debbugs:18232
2014-08-10 14:06:07 -07:00
Paul Eggert
f22bc725a1 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
2014-08-10 13:40:57 -07:00
Ulf Jasper
d4ed7004f5 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.
2014-08-10 19:48:51 +02:00
Reuben Thomas
643a030396 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.
2014-08-10 17:28:36 +01:00