]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years ago* cal-x.el (calendar-dedicate-diary): Drop support for deleted aliases.
Glenn Morris [Wed, 8 Oct 2014 18:30:45 +0000 (14:30 -0400)]
* cal-x.el (calendar-dedicate-diary): Drop support for deleted aliases.

9 years ago* lisp/progmodes/cfengine.el (cfengine3-make-syntax-cache): Always
Leo Liu [Wed, 8 Oct 2014 15:34:58 +0000 (23:34 +0800)]
* lisp/progmodes/cfengine.el (cfengine3-make-syntax-cache): Always
return a syntax.  Replace call-process-shell-command with
process-file.  Ensure cfengine-mode-syntax-functions-regex is
always set.  Ensure cache when cfengine-cf-promises fails.

Fixes: debbugs:18620
9 years agoFix bug #18649 with handling C-g on MS-Windows in -nw sessions.
Eli Zaretskii [Wed, 8 Oct 2014 12:32:38 +0000 (15:32 +0300)]
Fix bug #18649 with handling C-g on MS-Windows in -nw sessions.

 src/w32inevt.c (maybe_generate_resize_event): Pass non-zero as the
 DELAY argument to change_frame_size, so that the frame size
 changes, if any are needed, are delayed until the next redisplay.
 This is to avoid a too early QUIT inside change_frame_size, when
 it calls Lisp in frame_windows_min_size, in case one of the events
 we've read sets the quit-flag.

9 years agoAccept terminal devices on MS-Windows in APIs that accept frame or display.
Eli Zaretskii [Wed, 8 Oct 2014 10:39:45 +0000 (13:39 +0300)]
Accept terminal devices on MS-Windows in APIs that accept frame or display.

 src/w32fns.c (check_x_display_info): Accept terminal objects as
 argument, to follow what xfns.c does.

9 years ago* admin/unidata/Makefile.in: Check for deleted uni- files.
Glenn Morris [Tue, 7 Oct 2014 20:17:09 +0000 (16:17 -0400)]
* admin/unidata/Makefile.in: Check for deleted uni- files.
(all): Use unifiles rather than charprop.el.
(FORCE): New variable and phony rule.
(${unidir}/charprop.el): Respect FORCE.
(unifiles): New rule.

* src/Makefile.in ($(srcdir)/macuvs.h)
($(lispsource)/international/charprop.el): Add explicit FORCE.

Fixes: debbugs:18489
9 years agoFix bug #18650 with warning about zlib when loading url-vars.el.
Eli Zaretskii [Tue, 7 Oct 2014 17:18:07 +0000 (20:18 +0300)]
Fix bug #18650 with warning about zlib when loading url-vars.el.

 src/decompress.c (init_zlib_functions): Move the message about zlib
 being unavailable from here...
 (Fzlib_decompress_region): ...to here.

 lisp/url/url-http.el (url-http-create-request): Recheck zlib availability
 on windows-nt each time it might be required.

9 years ago* font.c (Ffont_get_glyphs): Use validate_subarray and fix
Dmitry Antipov [Tue, 7 Oct 2014 16:00:35 +0000 (20:00 +0400)]
* font.c (Ffont_get_glyphs): Use validate_subarray and fix
the case where an optional string is used.  Adjust docstring.

9 years agoadmin/unidata/Makefile.in small cleanup
Glenn Morris [Tue, 7 Oct 2014 05:14:28 +0000 (22:14 -0700)]
admin/unidata/Makefile.in small cleanup

* admin/unidata/Makefile.in (unidir): Rename from DSTDIR.  Change all uses.
(charprop.el, install): Remove rules.
(clean): Simplify.

9 years ago* lisp/font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.
Glenn Morris [Tue, 7 Oct 2014 03:20:33 +0000 (20:20 -0700)]
* lisp/font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup.

9 years agoSync with upstream verilog-mode revision c075a492
Wilson Snyder [Tue, 7 Oct 2014 03:19:10 +0000 (20:19 -0700)]
Sync with upstream verilog-mode revision c075a492

* lisp/progmodes/verilog-mode.el (verilog-mode-version): Bump.
(verilog-menu): Add AUTOINSERTLAST.
(verilog-no-indent-begin-re): When `verilog-indent-begin-after-if'
is nil, fix indenting initial/final to match always statements, bug825.
Reported by Tim Clapp.
(verilog-extended-complete-re): Fix indentation of DPI-C imports,
bug557.  Reported by ZeDong Mao and Jason Forkey.
(verilog-read-decls): Fix parsing typed interfaces.
Fix AUTOINOUTMODPORT missing types.  Reported by Stephan Bourduas.
(verilog-auto-arg-ports): Fix verilog-auto-arg-format single.
(verilog-auto-output-every): Add regexp to AUTOOUTPUTEVERY, bug793.
Reported by Pierre-David Pfister.
(verilog-auto-insert-lisp): Doc fix.
(verilog-auto-insert-last, verilog-auto): Add AUTOINSERTLAST to
allow post-AUTO user fixups, bug826.  Reported by Dennis Muhlestein.
(verilog-sk-ovm-class, verilog-sk-uvm-object)
(verilog-sk-uvm-component): Fix missing string keyword in class
skeletons, bug824.  Reported by eldad faruhi.

9 years agolisp/gnus/gnus-icalendar.el (gnus-icalendar-identities): Include message-alternative...
Jan Tatarik [Mon, 6 Oct 2014 22:11:44 +0000 (22:11 +0000)]
lisp/gnus/gnus-icalendar.el (gnus-icalendar-identities): Include message-alternative-emails

9 years agoFix "make docs" failure
Ulf Jasper [Mon, 6 Oct 2014 18:26:24 +0000 (20:26 +0200)]
Fix "make docs" failure

* doc/misc/newsticker.texi (Supported Formats): Fix order of subheading and
itemize.

9 years ago* lisp/term/w32-win.el: Move all code from 32-common-fns.el here.
Stefan Monnier [Mon, 6 Oct 2014 17:47:56 +0000 (13:47 -0400)]
* lisp/term/w32-win.el: Move all code from 32-common-fns.el here.
(gui-select-text, gui-selection-value): Use w32 handlers in the w32
console as well.
* lisp/w32-common-fns.el: Remove.
* lisp/loadup.el: Don't load w32-common-fns.el.
* w32-fns.elc: Don't require w32-common-fns.
* src/lisp.mk (lisp): Remove w32-common-fns.elc.

Fixes: debbugs:18629
9 years ago* lisp/icomplete.el: Move Iswitchb autoload here. Much simpler.
Stefan Monnier [Mon, 6 Oct 2014 14:12:56 +0000 (10:12 -0400)]
* lisp/icomplete.el: Move Iswitchb autoload here.  Much simpler.
* lisp/Makefile.in (obsolete-autoloads): Remove.
(AUTOGENEL): Remove obsolete/loaddefs.el.
* lisp/loadup.el: Don't load obsolete/loaddefs.el.
* lisp/obsolete/iswitchb.el (iswitchb-mode): Use normal autoload cookie.
Remove redundant obsolescence thingy.

9 years ago* lisp/Makefile.in (obsolete-autoloads): Write to a separate file,
Glenn Morris [Mon, 6 Oct 2014 07:00:33 +0000 (00:00 -0700)]
* lisp/Makefile.in (obsolete-autoloads): Write to a separate file,
to workaround autoloads bug.
(AUTOGENEL): Add obsolete/loaddefs.el.

* lisp/loadup.el: Load obsolete/loaddefs.el if present.

* lisp/subr.el (do-after-load-evaluation):
Don't warn about obsolete/loaddefs.el.

Fixes: debbugs:17407
9 years ago* lisp/menu-bar.el (menu-bar-games-menu): Remove landmark.
Glenn Morris [Mon, 6 Oct 2014 06:30:07 +0000 (23:30 -0700)]
* lisp/menu-bar.el (menu-bar-games-menu): Remove landmark.
It's not a game you can play, and is of no interest to the casual browser.
It was broken for years and no-one even noticed.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00288.html

9 years ago* configure.ac: Add -Wno-string-plus-int for clang.
Jan Djärv [Mon, 6 Oct 2014 06:21:13 +0000 (08:21 +0200)]
* configure.ac: Add -Wno-string-plus-int for clang.

9 years ago* imenu.el (imenu): Re-write for clarity.
Leo Liu [Mon, 6 Oct 2014 03:59:38 +0000 (11:59 +0800)]
* imenu.el (imenu): Re-write for clarity.

9 years agoRemove calendar code obsolete since at least version 23.1
Glenn Morris [Mon, 6 Oct 2014 02:02:04 +0000 (19:02 -0700)]
Remove calendar code obsolete since at least version 23.1

* lisp/calendar/cal-bahai.el (calendar-absolute-from-bahai)
(calendar-print-bahai-date, calendar-bahai-prompt-for-date)
(calendar-goto-bahai-date, list-bahai-diary-entries)
(mark-bahai-calendar-date-pattern, mark-bahai-diary-entries)
(insert-bahai-diary-entry, insert-monthly-bahai-diary-entry)
(insert-yearly-bahai-diary-entry):
* lisp/calendar/cal-china.el (chinese-calendar-time-zone)
(chinese-calendar-location-name)
(chinese-calendar-daylight-time-offset)
(chinese-calendar-standard-time-zone-name)
(chinese-calendar-daylight-time-zone-name)
(chinese-calendar-daylight-savings-starts)
(chinese-calendar-daylight-savings-ends)
(chinese-calendar-daylight-savings-starts-time)
(chinese-calendar-daylight-savings-ends-time)
(chinese-calendar-celestial-stem)
(chinese-calendar-terrestrial-branch)
(calendar-absolute-from-chinese, calendar-print-chinese-date)
(calendar-goto-chinese-date):
* lisp/calendar/cal-coptic.el (calendar-absolute-from-coptic)
(calendar-print-coptic-date, coptic-prompt-for-date)
(calendar-goto-coptic-date, calendar-absolute-from-ethiopic)
(calendar-print-ethiopic-date, calendar-goto-ethiopic-date):
* lisp/calendar/cal-french.el (calendar-absolute-from-french)
(calendar-print-french-date, calendar-goto-french-date):
* lisp/calendar/cal-hebrew.el (diary-sabbath-candles-minutes)
(calendar-absolute-from-hebrew, calendar-print-hebrew-date)
(hebrew-calendar-yahrzeit, calendar-goto-hebrew-date)
(holiday-rosh-hashanah-etc, holiday-hanukkah)
(holiday-passover-etc, holiday-tisha-b-av-etc)
(list-hebrew-diary-entries, mark-hebrew-calendar-date-pattern)
(mark-hebrew-diary-entries, insert-hebrew-diary-entry)
(insert-monthly-hebrew-diary-entry)
(insert-yearly-hebrew-diary-entry, list-yahrzeit-dates)
(diary-omer, diary-yahrzeit, diary-rosh-hodesh, diary-parasha)
(diary-sabbath-candles):
* lisp/calendar/cal-islam.el (calendar-absolute-from-islamic)
(calendar-print-islamic-date, calendar-goto-islamic-date)
(list-islamic-diary-entries, mark-islamic-calendar-date-pattern)
(mark-islamic-diary-entries, insert-islamic-diary-entry)
(insert-monthly-islamic-diary-entry)
(insert-yearly-islamic-diary-entry):
* lisp/calendar/cal-iso.el (calendar-absolute-from-iso)
(calendar-print-iso-date, calendar-iso-read-args)
(calendar-goto-iso-date, calendar-goto-iso-week):
* lisp/calendar/cal-julian.el (calendar-absolute-from-julian)
(calendar-print-julian-date, calendar-goto-julian-date)
(calendar-absolute-from-astro, calendar-print-astro-day-number)
(calendar-goto-astro-day-number):
* lisp/calendar/cal-mayan.el (calendar-print-mayan-date)
(calendar-next-haab-date, calendar-previous-haab-date)
(calendar-next-tzolkin-date, calendar-previous-tzolkin-date)
(calendar-next-calendar-round-date)
(calendar-previous-calendar-round-date)
(calendar-absolute-from-mayan-long-count)
(calendar-goto-mayan-long-count-date):
* lisp/calendar/cal-move.el (scroll-calendar-left)
(scroll-calendar-right, scroll-calendar-left-three-months)
(scroll-calendar-right-three-months):
* lisp/calendar/cal-persia.el (calendar-absolute-from-persian)
(calendar-print-persian-date, persian-prompt-for-date)
(calendar-goto-persian-date):
* lisp/calendar/cal-x.el (calendar-after-frame-setup-hooks):
* lisp/calendar/calendar.el (view-diary-entries-initially)
(mark-diary-entries-in-calendar, calendar-today-face)
(diary-face, holiday-face, view-calendar-holidays-initially)
(mark-holidays-in-calendar, initial-calendar-window-hook)
(today-visible-calendar-hook, today-invisible-calendar-hook)
(hebrew-diary-entry-symbol, islamic-diary-entry-symbol)
(bahai-diary-entry-symbol, american-date-diary-pattern)
(european-date-diary-pattern, european-calendar-display-form)
(american-calendar-display-form, holidays-in-diary-buffer)
(all-hebrew-calendar-holidays, all-christian-calendar-holidays)
(all-islamic-calendar-holidays, all-bahai-calendar-holidays)
(fancy-diary-buffer, increment-calendar-month)
(extract-calendar-month, extract-calendar-day)
(extract-calendar-year, exit-calendar, calendar-date-is-legal-p)
(mark-visible-calendar-date, calendar-version):
* lisp/calendar/diary-lib.el (diary-button-face, sexp-diary-entry-symbol)
(diary-display-hook, list-diary-entries-hook)
(mark-diary-entries-hook, nongregorian-diary-listing-hook)
(nongregorian-diary-marking-hook, print-diary-entries-hook)
(abbreviated-calendar-year, number-of-diary-entries)
(view-other-diary-entries, add-to-diary-list)
(include-other-diary-files, simple-diary-display)
(fancy-diary-display, print-diary-entries, mark-diary-entries)
(mark-sexp-diary-entries, mark-included-diary-files)
(mark-calendar-days-named, mark-calendar-month)
(mark-calendar-date-pattern, sort-diary-entries)
(list-sexp-diary-entries, make-diary-entry, insert-diary-entry)
(insert-weekly-diary-entry, insert-monthly-diary-entry)
(insert-yearly-diary-entry, insert-anniversary-diary-entry)
(insert-block-diary-entry, insert-cyclic-diary-entry)
(fancy-diary-font-lock-keywords, fancy-diary-display-mode):
* lisp/calendar/holidays.el (general-holidays, oriental-holidays)
(local-holidays, other-holidays, hebrew-holidays)
(christian-holidays, islamic-holidays, bahai-holidays)
(solar-holidays, list-calendar-holidays)
(check-calendar-holidays, mark-calendar-holidays)
(filter-visible-calendar-holidays):
* lisp/calendar/lunar.el (calendar-phases-of-moon, phases-of-moon)
(diary-phases-of-moon): Remove obsolete aliases.

* lisp/calendar/cal-menu.el (cal-menu-load-hook): Remove obsolete hook.
* calendar/cal-x.el (calendar-one-frame-setup)
(calendar-only-one-frame-setup, calendar-two-frame-setup):
Remove obsolete functions.
(cal-x-load-hook): Remove obsolete hook.

* calendar/calendar.el (european-calendar-style): Remove obsolete variable.
(calendar-date-style): No longer consult european-calendar-style.

* calendar/calendar.el (european-calendar, american-calendar):
Remove obsolete commands.

* calendar/calendar.el (calendar-for-loop): Remove obsolete macro.

* calendar/diary-lib.el (diary-face): Remove obsolete variable.
(diary-font-lock-date-forms, diary-fancy-font-lock-keywords):
Use the face `diary' instead of the variable `diary-face'.

* calendar/holidays.el (hebrew-holidays-1, hebrew-holidays-2)
(hebrew-holidays-3, hebrew-holidays-4): Remove obsolete variables.

* lisp/calendar/icalendar.el (icalendar--date-style): Remove function.
Replace all uses with calendar-date-style.

* lisp/textmodes/remember.el (calendar-date-style): Declare.
(remember-diary-convert-entry):
No longer consult european-calendar-style.

* test/automated/icalendar-tests.el (icalendar--calendar-style):
Remove test, no longer relevant.

9 years ago* keyboard.c (Qleft, Qright): Remove duplicate definitions.
Paul Eggert [Sun, 5 Oct 2014 23:18:31 +0000 (16:18 -0700)]
* keyboard.c (Qleft, Qright): Remove duplicate definitions.

These were already defined in buffer.c, and the duplicate
definitions cause problems on platforms like 'gcc -fno-common'.
Reported by Peter Dyballa in: http://bugs.gnu.org/9927#137

9 years agoFix disable toolbar for GNUStep.
Jan Djärv [Sun, 5 Oct 2014 18:03:42 +0000 (20:03 +0200)]
Fix disable toolbar for GNUStep.

* nsterm.m (updateFrameSize:): Only call update_frame_tool_bar
if toolbar is visible.

Fixes: debbugs:18345
9 years ago* nsfont.m (nsfont_draw): Use CGFloat for GNUstep newer than 0.23.
Jan Djärv [Sun, 5 Oct 2014 17:51:11 +0000 (19:51 +0200)]
* nsfont.m (nsfont_draw): Use CGFloat for GNUstep newer than 0.23.

Fixes: debbugs:18030
9 years agoMerge from emacs-24; up to 2014-07-21T01:34:03Z!monnier@iro.umontreal.ca
Glenn Morris [Sun, 5 Oct 2014 17:19:23 +0000 (10:19 -0700)]
Merge from emacs-24; up to 2014-07-21T01:34:03Z!monnier@iro.umontreal.ca

9 years ago* nsterm.m (ns_draw_window_cursor): Adjust y for hbar cursor only if smaller than
Jan Djärv [Sun, 5 Oct 2014 15:46:10 +0000 (17:46 +0200)]
* nsterm.m (ns_draw_window_cursor): Adjust y for hbar cursor only if smaller than
line height (Bug#17977).

Fixes: debbugs:18345
9 years ago* nsterm.m (ns_select, ns_read_socket): Use unwind_protect to decrease
Jan Djärv [Sun, 5 Oct 2014 14:17:43 +0000 (16:17 +0200)]
* nsterm.m (ns_select, ns_read_socket): Use unwind_protect to decrease
apploopnr.

Fixes: debbugs:18345
9 years ago* NEWS: Mention ns-use-fullscreen-animation.
Jan Djärv [Sun, 5 Oct 2014 12:25:00 +0000 (14:25 +0200)]
* NEWS: Mention ns-use-fullscreen-animation.

9 years agoAdd ns-use-fullscreen-animation for non-native fullscreen on NS.
Jan Djärv [Sun, 5 Oct 2014 12:20:17 +0000 (14:20 +0200)]
Add ns-use-fullscreen-animation for non-native fullscreen on NS.

* nsterm.m (syms_of_nsterm): ns-use-fullscreen-animation is new.
(toggleFullScreen:): Use ns-use-fullscreen-animation for animate.

9 years agoImport from macoport 24.3.94.
Jan Djärv [Sun, 5 Oct 2014 11:34:59 +0000 (13:34 +0200)]
Import from macoport 24.3.94.

* macfont.m: Fix indentation and import changes from macport
24.3.94.
(macfont_closest_traits_index): New function.
(macfont_closest_traits_index_p): Renamed from
macfont_closest_traits_index.
(macfont_list): Use macfont_closest_traits_index_p.

9 years agocoding.c (detect_coding_iso_2022): Fix previous change.
Kenichi Handa [Sun, 5 Oct 2014 08:52:04 +0000 (17:52 +0900)]
coding.c (detect_coding_iso_2022): Fix previous change.

9 years agocoding.c (detect_coding_iso_2022): Set coding->rejected correctly when an invalid...
Kenichi Handa [Sun, 5 Oct 2014 08:17:15 +0000 (17:17 +0900)]
coding.c (detect_coding_iso_2022): Set coding->rejected correctly when an invalid escape sequence is found (Bug#18610).

9 years ago* imenu.el (imenu-default-goto-function): Fix typo.
Leo Liu [Sun, 5 Oct 2014 00:58:38 +0000 (08:58 +0800)]
* imenu.el (imenu-default-goto-function): Fix typo.

9 years agolisp/gnus/nnimap.el (nnimap-process-expiry-targets): Reverse the list of expired...
Alan Schmitt [Sat, 4 Oct 2014 23:57:35 +0000 (23:57 +0000)]
lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Reverse the list of expired messages only when it was built in reverse order

9 years agolisp/gnus/gnus-delay.el (gnus-delay-send-queue): Remove `gnus-delay-header' last...
Peter Münster [Sat, 4 Oct 2014 23:55:04 +0000 (23:55 +0000)]
lisp/gnus/gnus-delay.el (gnus-delay-send-queue): Remove `gnus-delay-header' last so it can be used in `message-send-hook'

9 years agoAdd NEWS entry form ntlm.el change
Glenn Morris [Sat, 4 Oct 2014 19:25:35 +0000 (12:25 -0700)]
Add NEWS entry form ntlm.el change

9 years ago* lisp/net/ntlm.el (ntlm-build-auth-request): Add NTLM2 Session support.
Thomas Fitzsimmons [Sat, 4 Oct 2014 19:23:42 +0000 (12:23 -0700)]
* lisp/net/ntlm.el (ntlm-build-auth-request): Add NTLM2 Session support.

Fixes: debbugs:15603
9 years ago* apropos.el (apropos-symbols-internal): Avoid error with non-symbol properties.
Glenn Morris [Sat, 4 Oct 2014 19:14:03 +0000 (12:14 -0700)]
* apropos.el (apropos-symbols-internal): Avoid error with non-symbol properties.

Fixes: debbugs:18337
9 years ago* admin/authors.el (authors-renamed-files-alist): Add package-x-test.el
Glenn Morris [Sat, 4 Oct 2014 19:07:05 +0000 (12:07 -0700)]
* admin/authors.el (authors-renamed-files-alist): Add package-x-test.el

9 years agoMerge package-x-test.el into package-test.el, to avoid running tests twice
Glenn Morris [Sat, 4 Oct 2014 19:04:36 +0000 (12:04 -0700)]
Merge package-x-test.el into package-test.el, to avoid running tests twice

* test/automated/package-x-test.el: Remove file...
* test/automated/package-test.el: ... merge package-x-test.el.

Fixes: debbugs:18574
9 years ago* lisp/startup.el (command-line): Handle altered user-emacs-directory
Glenn Morris [Sat, 4 Oct 2014 18:58:41 +0000 (11:58 -0700)]
* lisp/startup.el (command-line): Handle altered user-emacs-directory
in load-path warning.

Fixes: debbugs:18512
9 years agodoc/emacs small markup fixes
Glenn Morris [Sat, 4 Oct 2014 16:46:21 +0000 (09:46 -0700)]
doc/emacs small markup fixes

* doc/emacs/misc.texi (Sorting):
* doc/emacs/search.texi (Query Replace): Markup fixes.

9 years agoFix Gtk+ tearoff not present on Customize Emacs and not at menu top.
Jan Djärv [Sat, 4 Oct 2014 12:28:41 +0000 (14:28 +0200)]
Fix Gtk+ tearoff not present on Customize Emacs and not at menu top.

* gtkutil.c (create_menus): Only add tearoffs to empty menus.
(xg_update_submenu): Remove has_tearoff_p, pass 1 to create_menus
for add_tearoff_p.

9 years agoAdd documentation for horizontal scroll bars and fix some minor issues.
Martin Rudalics [Sat, 4 Oct 2014 08:20:24 +0000 (10:20 +0200)]
Add documentation for horizontal scroll bars and fix some minor issues.

* buffer.c (scroll_bar_width, scroll_bar_height): Fix
doc-strings.
* window.c (Fset_window_scroll_bars): Fix doc-string.
(Fwindow_scroll_bars): Have it return what the doc-string says.

* window.el (window-full-height-p): Make it behave correctly for
minibuffer window.
(window-current-scroll-bars): Fix code.
(fit-frame-to-buffer): Use window-scroll-bar-height instead of
window-scroll-bars.
* frame.el (frame-current-scroll-bars): Fix doc-string.
* scroll-bar.el (toggle-horizontal-scroll-bar): New command.

* frames.texi (Scroll Bars): Describe use of horizontal scroll
bars.

* display.texi (Scroll Bars): Add description of horizontal scroll
bars and associated functions.
* frames.texi (Layout Parameters): Add horizontal scroll bar
entries.  Remove paragraph on "combined fringe widths".
* windows.texi (Window Sizes): Describe affects of horizontal
scroll bars on window layout and sizes.  Fix description of
window-full-height-p.
(Resizing Windows): Mention horizontal scroll bar.

9 years ago* lisp/files.el (auto-mode-alist): Use sh-mode for .zsh files.
Mark Oteiza [Sat, 4 Oct 2014 07:27:10 +0000 (00:27 -0700)]
* lisp/files.el (auto-mode-alist): Use sh-mode for .zsh files.

Fixes: debbugs:18488
9 years ago* configure.ac: Silence warning with some old Xrandr.h.
Glenn Morris [Sat, 4 Oct 2014 07:22:51 +0000 (00:22 -0700)]
* configure.ac: Silence warning with some old Xrandr.h.

Fixes: debbugs:18465
9 years agoMerge from emacs-24; up to 2014-07-20T16:14:58Z!dmantipov@yandex.ru
Glenn Morris [Sat, 4 Oct 2014 07:05:21 +0000 (00:05 -0700)]
Merge from emacs-24; up to 2014-07-20T16:14:58Z!dmantipov@yandex.ru

9 years ago* doc/lispref/commands.texi (Generic Commands): Copyedits.
Glenn Morris [Sat, 4 Oct 2014 06:59:30 +0000 (23:59 -0700)]
* doc/lispref/commands.texi (Generic Commands): Copyedits.

9 years ago* doc/misc/vip.texi (Other Vi Commands): Markup fix.
Glenn Morris [Sat, 4 Oct 2014 06:55:37 +0000 (23:55 -0700)]
* doc/misc/vip.texi (Other Vi Commands): Markup fix.

9 years agoSmall copyedits for doc/lispref
Glenn Morris [Sat, 4 Oct 2014 06:45:19 +0000 (23:45 -0700)]
Small copyedits for doc/lispref

* doc/lispref/display.texi (Scroll Bars):
* doc/lispref/modes.texi (Header Lines): Copyedits.

9 years agoSmall doc/ fixes re @var usage.
Glenn Morris [Sat, 4 Oct 2014 06:35:55 +0000 (23:35 -0700)]
Small doc/ fixes re @var usage.

* doc/emacs/cmdargs.texi (Misc X):
* doc/emacs/display.texi (Optional Mode Line):
* doc/emacs/misc.texi (emacsclient Options):
* doc/emacs/vc1-xtra.texi (VC Delete/Rename):
* doc/lispref/buffers.texi (Buffer List):
* doc/lispref/display.texi (Image Descriptors, Defining Images):
* doc/lispref/functions.texi (Core Advising Primitives):
Small fixes re @var usage.

9 years ago* doc/lispref/windows.texi (Window Sizes, Resizing Windows): Copyedits.
Glenn Morris [Sat, 4 Oct 2014 06:33:00 +0000 (23:33 -0700)]
* doc/lispref/windows.texi (Window Sizes, Resizing Windows): Copyedits.

9 years agoMerge trivially safe differences from standalone CC-mode.
Stefan Monnier [Sat, 4 Oct 2014 04:03:49 +0000 (00:03 -0400)]
Merge trivially safe differences from standalone CC-mode.
* lisp/progmodes/cc-mode.el (c-initialize-cc-mode): Don't quote a symbol
just to then pass it to `symbol-value'.
(prog-mode): Provide fallback definition, if needed.
* lisp/progmodes/cc-langs.el: Always load `cl'.  Don't load `cl-lib'.
Remove "cl-" prefix accordingly.
* lisp/progmodes/cc-fonts.el (c-font-lock-invalid-string): Use integerp or
characterp depending on the type of characters.
(c-font-lock-enum-tail): Remove unused var `start'.
* lisp/progmodes/cc-engine.el: Load CL at compile-time.
(c-declare-lang-variables): Use mapcan.
(c-append-to-state-cache): Remove unused var `ce+1'.
(c-parse-state-state): Make buffer-local.
(c-ssb-lit-begin): Remove unused var `pps-end-pos'.
(c-just-after-func-arglist-p): Remove unused var `end'.
* lisp/progmodes/cc-defs.el: Load cc-fix if delete-dups is undefined.
(c-<-as-paren-syntax, c->-as-paren-syntax): Move definition earlier.
(c-make-keywords-re): Use delete-dups.
(c-get-current-file): Avoid file-name-base.
* lisp/progmodes/cc-cmds.el (c-electric-lt-gt): Remove unused var
`close-paren-inserted'.
* lisp/progmodes/cc-awk.el (c-forward-sws): Remove unused declaration.

9 years ago* lisp/erc/erc.el (erc-channel-receive-names): Silence compiler warning.
Stefan Monnier [Sat, 4 Oct 2014 03:04:51 +0000 (23:04 -0400)]
* lisp/erc/erc.el (erc-channel-receive-names): Silence compiler warning.
(erc-format-@nick, erc-update-modes): Idem.

9 years agoDoc tweaks re multi-monitor
Glenn Morris [Sat, 4 Oct 2014 03:03:52 +0000 (20:03 -0700)]
Doc tweaks re multi-monitor

* doc/lispref/frames.texi (Multiple Terminals): Copyedits re multiple monitors.

* lisp/frame.el (frame-monitor-attributes, display-monitor-attributes-list):
Doc fixes.

9 years agodoc/emacs copyedits re rectangle-mark-mode
Glenn Morris [Sat, 4 Oct 2014 02:36:49 +0000 (19:36 -0700)]
doc/emacs copyedits re rectangle-mark-mode

* doc/emacs/killing.texi (Rectangles): Copyedits re rectangle-mark-mode.
(CUA Bindings): Mention rectangle-mark-mode.

9 years ago* lisp/progmodes/python.el: Avoid building unneeded markers.
Stefan Monnier [Sat, 4 Oct 2014 02:35:28 +0000 (22:35 -0400)]
* lisp/progmodes/python.el: Avoid building unneeded markers.
(python-font-lock-keywords, python-indent-dedent-line)
(python-fill-paren, python-shell-completion-complete-or-indent):
Prefer point over point-marker.
(inferior-python-mode): Remove redundant completion settings.

9 years agoMerge from emacs-24; up to 2014-07-17T10:18:19Z!dmantipov@yandex.ru
Glenn Morris [Fri, 3 Oct 2014 16:07:31 +0000 (09:07 -0700)]
Merge from emacs-24; up to 2014-07-17T10:18:19Z!dmantipov@yandex.ru

9 years agoChangeLog fixes
Glenn Morris [Fri, 3 Oct 2014 16:06:02 +0000 (09:06 -0700)]
ChangeLog fixes

9 years agoChangeLog merge fix
Glenn Morris [Fri, 3 Oct 2014 16:05:12 +0000 (09:05 -0700)]
ChangeLog merge fix
Yet another unlabelled backport.

9 years agoChangeLog fix
Glenn Morris [Fri, 3 Oct 2014 15:46:27 +0000 (08:46 -0700)]
ChangeLog fix

9 years agoMerge from emacs-24; up to 2014-07-16T17:06:12Z!rgm@gnu.org
Glenn Morris [Fri, 3 Oct 2014 15:44:46 +0000 (08:44 -0700)]
Merge from emacs-24; up to 2014-07-16T17:06:12Z!rgm@gnu.org

9 years agoChangeLog fixes
Glenn Morris [Fri, 3 Oct 2014 15:33:37 +0000 (08:33 -0700)]
ChangeLog fixes

9 years agoA few tiny doc/ copyedits.
Glenn Morris [Fri, 3 Oct 2014 15:26:26 +0000 (08:26 -0700)]
A few tiny doc/ copyedits.

9 years agoFix vc-svn-ignore
Dmitry Gutov [Fri, 3 Oct 2014 13:15:05 +0000 (17:15 +0400)]
Fix vc-svn-ignore

* lisp/vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
(vc-svn-ignore): Use it.

Fixes: debbugs:18619
9 years agodoc/misc/erc.texi (Connecting): Remove stray "OA" that failed the manual build.
Eli Zaretskii [Fri, 3 Oct 2014 13:02:53 +0000 (16:02 +0300)]
doc/misc/erc.texi (Connecting): Remove stray "OA" that failed the manual build.

9 years agoUpdating ERC documentation
Kelvin White [Fri, 3 Oct 2014 12:13:31 +0000 (08:13 -0400)]
Updating ERC documentation

9 years agoerc.el (erc-rename-buffers): Use defcustom instead of defvar.
Kelvin White [Fri, 3 Oct 2014 11:08:37 +0000 (07:08 -0400)]
erc.el (erc-rename-buffers): Use defcustom instead of defvar.

9 years agoMention `frame-resize-pixelwise' to make frames truly fullscreen or maximized.
Martin Rudalics [Fri, 3 Oct 2014 09:18:49 +0000 (11:18 +0200)]
Mention `frame-resize-pixelwise' to make frames truly fullscreen or maximized.

* frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
In doc-string mention need of setting `frame-resize-pixelwise'.

* frames.texi (Frame Commands):
* cmdargs.texi (Window Size X): Mention the use of
`frame-resize-pixelwise' to make frames truly fullscreen or
maximized.

* frames.texi (Size Parameters, Size and Position): Mention that
with some window managers you have to set
`frame-resize-pixelwise' in order make a frame truly fullscreen
or maximized.

9 years agoSync with Org 8.2.8.
Bastien Guerry [Fri, 3 Oct 2014 08:13:51 +0000 (10:13 +0200)]
Sync with Org 8.2.8.

9 years ago* fileio.c (emacs_readlinkat, Finsert_file_contents):
Dmitry Antipov [Fri, 3 Oct 2014 05:31:17 +0000 (09:31 +0400)]
* fileio.c (emacs_readlinkat, Finsert_file_contents):
* w32fns.c, xfns.c (x_create_tip_frame): Use AUTO_STRING.

9 years agoConsistently use min and max macros from lisp.h.
Dmitry Antipov [Fri, 3 Oct 2014 04:35:10 +0000 (08:35 +0400)]
Consistently use min and max macros from lisp.h.
* coding.c (min, max):
* font.c (MAX):
* unexhp9k800.c (min):
* unexw32.c (min, max): Use definitions from lisp.h.
* regex.c (MAX, MIN) [!emacs]: Define own max and min as such.
Adjust users.
* gmalloc.c (min): Tiny style change.

9 years ago* font.c (font_list_entities): Do not add empty vector to font cache.
Dmitry Antipov [Fri, 3 Oct 2014 03:46:53 +0000 (07:46 +0400)]
* font.c (font_list_entities): Do not add empty vector to font cache.
(font_matching_entity): Likewise.  If matching entity is found, insert
1-item vector with this entity instead of an entity itself (Bug#17125).

9 years agoFix x-focus-frame bug with "Not an in-range integer".
Paul Eggert [Fri, 3 Oct 2014 02:20:52 +0000 (19:20 -0700)]
Fix x-focus-frame bug with "Not an in-range integer".

* xselect.c (X_SHRT_MAX, X_SHRT_MIN, X_LONG_MAX, X_LONG_MIN)
(X_ULONG_MAX): Move these macros to xterm.h.
(x_fill_property_data): Be more generous about allowing either
signed or unsigned data of the appropriate width.
* xterm.h (x_display_set_last_user_time): New function.
All setters of last_user_time changd to use this function.
If ENABLE_CHECKING, check that the times are in range.

Fixes: debbugs:18586
9 years ago* lisp/select.el: Add commentary discussion.
Stefan Monnier [Fri, 3 Oct 2014 02:15:42 +0000 (22:15 -0400)]
* lisp/select.el: Add commentary discussion.

9 years agoNew gui-selection-value consolidating x-selection-value.
Stefan Monnier [Fri, 3 Oct 2014 01:39:49 +0000 (21:39 -0400)]
New gui-selection-value consolidating x-selection-value.
* lisp/select.el (gui-selection-value-alist): New method.
(gui-selection-value): New function.
(x-selection-value): Make it an obsolete alias.
* lisp/simple.el (interprogram-paste-function): Default to gui-selection-value.
* lisp/w32-common-fns.el (w32-get-selection-value): Simplify.
(x-selection-value): Remove alias.
(interprogram-paste-function): Don't set.
(gui-selection-value): Define for w32.
* lisp/term/x-win.el (gui-selection-value): Define for x.
(x--selection-value): Rename from x--selection-value.
(interprogram-paste-function): Don't set.
* lisp/term/pc-win.el (w16-get-selection-value): Simplify.
(msdos-initialize-window-system): Don't set interprogram-paste-function.
(gui-selection-value): Define for pc.
* lisp/term/ns-win.el (x-selection-value): Remove.
(gui-selection-value): Define for ns, instead.
* lisp/term/common-win.el (x-setup-function-keys): Don't set
interprogram-paste-function.
* lisp/obsolete/mouse-sel.el (mouse-sel-get-selection-function):
Use gui-selection-value.

9 years ago* lisp/vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
Stefan Monnier [Fri, 3 Oct 2014 00:42:28 +0000 (20:42 -0400)]
* lisp/vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
similarly to Roger's 2010-06-12 change for the remote change.

Fixes: debbugs:18605
9 years ago* lisp/term/ns-win.el: Add functions to ns frame, not x frame.
David Raynes [Fri, 3 Oct 2014 00:15:34 +0000 (20:15 -0400)]
* lisp/term/ns-win.el: Add functions to ns frame, not x frame.

Fixes: debbugs:18614
9 years ago* configure.ac: Port to strict POSIX shells on non-MinGW.
Paul Eggert [Thu, 2 Oct 2014 22:29:39 +0000 (15:29 -0700)]
* configure.ac: Port to strict POSIX shells on non-MinGW.

Fixes: debbugs:18612
9 years ago* erc.el (erc-nick-at-point): Fix format-string typo (Bug#17755).
Paul Eggert [Thu, 2 Oct 2014 19:28:26 +0000 (12:28 -0700)]
* erc.el (erc-nick-at-point): Fix format-string typo (Bug#17755).

9 years ago* lisp/obsolete/lucid.el (read-number): Remove, redundant.
Stefan Monnier [Thu, 2 Oct 2014 17:18:57 +0000 (13:18 -0400)]
* lisp/obsolete/lucid.el (read-number): Remove, redundant.
* lisp/obsolete/cl-compat.el (cl-floor, cl-ceiling, cl-round, cl-truncate):
Remove, broken.

9 years agosrc/dispnew.c (adjust_decode_mode_spec_buffer): Use 'int' instead of 'ssize_t'.
Eli Zaretskii [Thu, 2 Oct 2014 15:33:55 +0000 (18:33 +0300)]
src/dispnew.c (adjust_decode_mode_spec_buffer): Use 'int' instead of 'ssize_t'.

Suggested by Paul Eggert <eggert@cs.ucla.edu>.

9 years agoMerge from emacs-24
Stefan Monnier [Thu, 2 Oct 2014 15:13:05 +0000 (11:13 -0400)]
Merge from emacs-24

9 years agoFix bug #18584 with assertion violations while scrolling.
Eli Zaretskii [Thu, 2 Oct 2014 14:57:05 +0000 (17:57 +0300)]
Fix bug #18584 with assertion violations while scrolling.

 src/xdisp.c (move_it_by_lines): Call reseat_1 after moving the
 iterator backwards, to resync the bidi iterator.

9 years ago* alloc.c (mark_overlay): Assume that overlay boundaries are
Dmitry Antipov [Thu, 2 Oct 2014 14:01:27 +0000 (18:01 +0400)]
* alloc.c (mark_overlay): Assume that overlay boundaries are
always markers.  Add comment.
* lread.c (read_internal_start): Use convenient validate_subarray.
Adjust docstring.
(Fread_from_string): Adjust docstring.

9 years ago* lisp/frame.el: Use lexical-binding.
Stefan Monnier [Thu, 2 Oct 2014 13:26:23 +0000 (09:26 -0400)]
* lisp/frame.el: Use lexical-binding.
(make-frame): Use t rather than nil for tty's window-system.
* lisp/startup.el (command-line): Use gui-method.

Fixes: debbugs:18598
9 years ago* simple.el (deactivate-mark): Fix typo.
Stefan Monnier [Thu, 2 Oct 2014 12:44:48 +0000 (08:44 -0400)]
* simple.el (deactivate-mark): Fix typo.

9 years ago* src/lisp.h: Fix up compilation for USE_STACK_LISP_OBJECTS=false.
Stefan Monnier [Thu, 2 Oct 2014 12:27:19 +0000 (08:27 -0400)]
* src/lisp.h: Fix up compilation for USE_STACK_LISP_OBJECTS=false.

9 years agoUse local variable to determine if buffers should be renamed
Kelvin White [Thu, 2 Oct 2014 11:55:22 +0000 (07:55 -0400)]
Use local variable to determine if buffers should be renamed

Fixes: debbugs:18300
9 years agoDo not reset input ring if one exists
Ivan Shmakov [Thu, 2 Oct 2014 11:31:56 +0000 (07:31 -0400)]
Do not reset input ring if one exists

Fixes: debbugs:18599
9 years agoRotate etc/NEWS files for version 25
Glenn Morris [Thu, 2 Oct 2014 04:24:07 +0000 (21:24 -0700)]
Rotate etc/NEWS files for version 25

9 years agoConsolidate management/ownership of selections.
Stefan Monnier [Thu, 2 Oct 2014 03:19:32 +0000 (23:19 -0400)]
Consolidate management/ownership of selections.
* lisp/select.el (gui-get-selection-alist): New method.
(gui-get-selection): Use it.  Rename from x-get-selection.
(x-get-selection): Define as obsolete alias.
(x-get-clipboard): Mark obsolete.
(gui-get-primary-selection): New function.
(x-get-selection-value): Mark obsolete.
(gui-own-selection-alist, gui-disown-selection-alist)
(gui-selection-owner-p-alist): New methods.
(gui-set-selection): Use them.  Rename from x-set-selection.
(x-set-selection): Define as obsolete alias.
(gui--valid-simple-selection-p): Rename from
x-valid-simple-selection-p.
* lisp/w32-common-fns.el (gui-own-selection, gui-disown-selection)
(gui-selection-owner-p, gui-get-selection): Define for w32.
(w32-get-selection-value): Rename from x-get-selection-value.
Use the new gui-last-selected-text.
* lisp/term/x-win.el (x-get-selection-value): Remove.
(x-clipboard-yank): Declare obsolete.
(gui-own-selection, gui-disown-selection, gui-get-selection)
(gui-selection-owner-p): Define for x.
* lisp/term/w32-win.el (w32-win-suspend-error): Rename from
x-win-suspend-error.
* lisp/term/pc-win.el (w16-get-selection-value): Rename from
x-get-selection-value.
(w16-selection-owner-p): Rename from x-selection-owner-p.
(gui-own-selection, gui-disown-selection, gui-get-selection)
(gui-selection-owner-p): Define for pc.
(w16--select-text): New function.
* lisp/term/ns-win.el (gui-own-selection, gui-disown-selection)
(gui-get-selection, gui-selection-owner-p): Define for ns.
* lisp/term.el (term-mouse-paste):
* lisp/mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
* src/nsselect.m (ns-own-selection-internal, ns-disown-selection-internal):
Rename from the "x-" prefix.

9 years agoAdd missing name to Changelog.
Jay Belanger [Thu, 2 Oct 2014 02:09:30 +0000 (21:09 -0500)]
Add missing name to Changelog.

9 years agocalc/calc-help.el (calc-describe-thing): Quote strings which could
H. Dieter Wilhelm [Thu, 2 Oct 2014 01:41:10 +0000 (20:41 -0500)]
calc/calc-help.el (calc-describe-thing): Quote strings which could
look like regexps.

9 years agoBump version to 24.3.94; regenerate ldefs-boot and AUTHORS emacs-24.3.94
Glenn Morris [Thu, 2 Oct 2014 00:49:14 +0000 (17:49 -0700)]
Bump version to 24.3.94; regenerate ldefs-boot and AUTHORS

9 years agoChangeLog whitespace trivia
Glenn Morris [Thu, 2 Oct 2014 00:26:16 +0000 (17:26 -0700)]
ChangeLog whitespace trivia

9 years ago* package.el (package-import-keyring): Create gnupg directory private.
Glenn Morris [Wed, 1 Oct 2014 23:39:50 +0000 (19:39 -0400)]
* package.el (package-import-keyring): Create gnupg directory private.
See bug#17625#155.

9 years ago* emacs/package.texi (Package Installation): Mention etc/package-keyring.gpg.
Glenn Morris [Wed, 1 Oct 2014 23:29:46 +0000 (19:29 -0400)]
* emacs/package.texi (Package Installation): Mention etc/package-keyring.gpg.

9 years agopackage-test tweaks for hydra
Glenn Morris [Wed, 1 Oct 2014 23:24:28 +0000 (19:24 -0400)]
package-test tweaks for hydra

* test/automated/package-test.el (with-package-test, package-test-signed):
Also set HOME to a temp value, in case the real one is absent (e.g.
hydra) or read-only.
(package-test-signed): Use skip-unless rather than expected-result.

Fixes: debbugs:18575
9 years agoCommit forgotten ChangeLog files
Stefan Monnier [Wed, 1 Oct 2014 22:14:43 +0000 (18:14 -0400)]
Commit forgotten ChangeLog files

9 years agoConsolidate x-select-text.
Stefan Monnier [Wed, 1 Oct 2014 22:13:11 +0000 (18:13 -0400)]
Consolidate x-select-text.
* lisp/frame.el (gui-method, gui-method-define, gui-method-declare)
(gui-call): New macros.
(gui-method--name): New function.
(frame-creation-function-alist): Use gui-method-declare.
(make-frame): Use gui-method.
* lisp/select.el (gui-select-enable-clipboard): Rename from
x-select-enable-clipboard and move here.
(x-select-enable-clipboard): Define as obsolete alias.
(gui-last-selected-text): New var, to replace x-last-selected-text.
(gui-select-text): New GUI method.
(gui-select-text): New function.
(x-select-text): Define as obsolete alias.
* lisp/term/common-win.el (x-select-enable-clipboard, x-select-text):
Move to select.el.
* lisp/simple.el (interprogram-cut-function): Change default to
x-select-text.
(interprogram-paste-function): Change default to `ignore'.
* lisp/w32-common-fns.el (interprogram-cut-function): Don't modify.
* lisp/term/x-win.el (interprogram-cut-function): Don't modify.
(gui-select-text): Add method for x.
* lisp/term/w32-win.el (gui-select-text): Add method for w32.
* lisp/term/pc-win.el (x-last-selected-text): Remove, use
gui-last-selected-text instead.
(msdos-initialize-window-system): Don't set interprogram-cut-function.
(gui-select-text): Add method for pc.
* lisp/term/ns-win.el (ns-last-selected-text): Remove, use
gui-last-selected-text instead.
(gui-select-text): Add method for ns.
(x-setup-function-keys): Don't change interprogram-cut-function.
* lisp/loadup.el ("startup"): Load after "frame".
* lisp/subr.el (package--builtin-versions, package--description-file):
Move from startup.el.
* lisp/startup.el (package--builtin-versions, package--description-file):
Move to subr.el.
(handle-args-function-alist, window-system-initialization-alist):
Use gui-method-declare.
(command-line): Use gui-method.
* src/xselect.c (selection-converter-alist): Fix docstring.

9 years agoImprove doc for use of 'int', and discuss 'ssize_t'.
Paul Eggert [Wed, 1 Oct 2014 20:34:55 +0000 (13:34 -0700)]
Improve doc for use of 'int', and discuss 'ssize_t'.

* internals.texi (C Integer Types): Mention 'int' for other
randomish values that lie in 'int' range.  Mention 'ssize_t'.  See:
http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00019.html