]> git.eshelyaron.com Git - emacs.git/log
emacs.git
10 years agoFix mailaddress.
Jan Djärv [Sat, 11 Oct 2014 08:22:00 +0000 (10:22 +0200)]
Fix mailaddress.

10 years agoDrop support for deprecated (since 23.1) forms of diary-display-function
Glenn Morris [Sat, 11 Oct 2014 02:54:11 +0000 (19:54 -0700)]
Drop support for deprecated (since 23.1) forms of diary-display-function

* lisp/calendar/diary-lib.el (diary-display-function):
Drop support for deprecated nil and list forms.
(diary-list-entries): Update for the above.

* lisp/calendar/cal-x.el (calendar-dedicate-diary): Simplify accordingly.

10 years ago* lisp/erc/erc.el: Fix paren typo in previous.
Glenn Morris [Fri, 10 Oct 2014 16:53:19 +0000 (12:53 -0400)]
* lisp/erc/erc.el: Fix paren typo in previous.

10 years agoOnly initialize erc-last-saved-position if not already a marker.
Ivan Shmakov [Fri, 10 Oct 2014 13:16:12 +0000 (09:16 -0400)]
Only initialize erc-last-saved-position if not already a marker.

Fixes: debbugs:16145
10 years ago* lisp/window.el (temp-buffer-window-show): Make BUFFER a required arg.
Leo Liu [Fri, 10 Oct 2014 12:39:49 +0000 (20:39 +0800)]
* lisp/window.el (temp-buffer-window-show): Make BUFFER a required arg.

Fixes: debbugs:18656
10 years ago[maint] Start Emacs versioning doc; nfc.
Thien-Thi Nguyen [Fri, 10 Oct 2014 07:54:08 +0000 (09:54 +0200)]
[maint] Start Emacs versioning doc; nfc.

* admin/versioning: New file.

10 years ago* lisp/select.el (gui-selection-exists-p-alist): New method.
Stefan Monnier [Fri, 10 Oct 2014 03:28:24 +0000 (23:28 -0400)]
* lisp/select.el (gui-selection-exists-p-alist): New method.
* lisp/menu-bar.el (menu-bar-edit-menu, clipboard-yank):
* lisp/simple.el (deactivate-mark): Use it.
* lisp/term/x-win.el (gui-selection-exists-p):
* lisp/term/w32-win.el (gui-selection-exists-p):
* lisp/term/pc-win.el (gui-selection-exists-p):
* lisp/term/ns-win.el (gui-selection-exists-p): Provide a backend instance.

10 years agoAllow Info-fontify-maximum-menu-size to specify unlimited
Glenn Morris [Fri, 10 Oct 2014 03:24:41 +0000 (20:24 -0700)]
Allow Info-fontify-maximum-menu-size to specify unlimited

* lisp/info.el (Info-fontify-maximum-menu-size): Fix :type.
Allow t to mean no limit.
(Info-fontify-node): Handle Info-fontify-maximum-menu-size = t.

10 years ago* lisp/info.el (Info-fontify-maximum-menu-size): Bump to 400k.
Glenn Morris [Fri, 10 Oct 2014 01:11:24 +0000 (21:11 -0400)]
* lisp/info.el (Info-fontify-maximum-menu-size): Bump to 400k.

Fixes: debbugs:16227
10 years ago* lisp.h (USE_STACK_STRING): Now true only if USE_STACK CONS.
Paul Eggert [Thu, 9 Oct 2014 06:54:10 +0000 (23:54 -0700)]
* lisp.h (USE_STACK_STRING): Now true only if USE_STACK CONS.

On x86 platforms this works around GCC bug 63495
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63495>,
and more generally should fix a portability problem in Emacs.
Problem reported by Stefan Monnier in:
http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00261.html

10 years agoMerge from emacs-24; up to 2014-07-22T06:37:31Z!yamaoka@jpl.org
Glenn Morris [Thu, 9 Oct 2014 04:23:09 +0000 (21:23 -0700)]
Merge from emacs-24; up to 2014-07-22T06:37:31Z!yamaoka@jpl.org

10 years ago* lisp/frame.el (make-frame): Use t rather than nil for `w'.
Stefan Monnier [Thu, 9 Oct 2014 03:04:59 +0000 (23:04 -0400)]
* lisp/frame.el (make-frame): Use t rather than nil for `w'.

Fixes: debbugs:18653
10 years ago* NEWS: Mention optional arg to terpri and new cl-lib functions.
Leo Liu [Thu, 9 Oct 2014 01:52:47 +0000 (09:52 +0800)]
* NEWS: Mention optional arg to terpri and new cl-lib functions.

10 years ago* doc/lispref/frames.texi: Tweak previous tweaks.
Glenn Morris [Thu, 9 Oct 2014 01:09:10 +0000 (21:09 -0400)]
* doc/lispref/frames.texi: Tweak previous tweaks.

10 years agoDoc tweaks
Glenn Morris [Thu, 9 Oct 2014 00:47:30 +0000 (20:47 -0400)]
Doc tweaks

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

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

* nt/README.W32, src/ChangeLog.10, src/w32term.c:
Standardize on "taskbar" rather than "task bar", since that is what
most references seem to use; e.g.
http://en.wikipedia.org/wiki/Taskbar
http://windows.microsoft.com/en-us/windows7/products/features/windows-taskbar

10 years agoEnhance terpri to allow conditionally output a newline
Leo Liu [Wed, 8 Oct 2014 22:05:48 +0000 (06:05 +0800)]
Enhance terpri to allow conditionally output a newline

* doc/lispref/streams.texi (Output Functions): Document new argument ENSURE to
terpri.

* doc/misc/cl.texi (Porting Common Lisp): Remove parse-integer.

* lisp/emacs-lisp/cl-extra.el (cl-fresh-line): New function.

* src/keymap.c (describe_vector_princ):
* src/keyboard.c (Fcommand_error_default_function): Adapt to change to
Fterpri.

* src/print.c (printchar_stdout_last): Declare.
(printchar): Record the last char written to stdout.
(Fterpri): Add optional argument ENSURE.

* test/automated/print-tests.el: New file.
(terpri): Tests for terpri.  (Bug#18652)

10 years ago* lisp/frame.el: Fix doc typo in previous
Glenn Morris [Wed, 8 Oct 2014 19:37:37 +0000 (15:37 -0400)]
* lisp/frame.el: Fix doc typo in previous

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

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

10 years agodoc/lispref/frames.texi: (Multiple Terminals): Fix last commit.
Eli Zaretskii [Wed, 8 Oct 2014 11:17:13 +0000 (14:17 +0300)]
doc/lispref/frames.texi: (Multiple Terminals): Fix last commit.

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

10 years agoFix bug #18636 with documentation of multi-monitor displays.
Eli Zaretskii [Wed, 8 Oct 2014 10:16:45 +0000 (13:16 +0300)]
Fix bug #18636 with documentation of multi-monitor displays.

 doc/lispref/frames.texi (Multiple Terminals): Improve the description of X
 display names.  Add index entries.
 (Basic Parameters): Add a cross-reference to where X display names
 are described.
 (Position Parameters): Mention that positional parameters of the
 form (+ POS) can be negative if they are on a non-primary monitor
 of a multi-monitor display.
 (Creating Frames): Mention that on multi-monitor displays the
 frame might be positioned differently than specified by the frame
 parameters alist.

 lisp/faces.el (display-grayscale-p): Mention in the doc string that
 the argument can be either a display name or a frame.
 lisp/frame.el (display-pixel-height, display-pixel-width)
 (display-mm-height, display-mm-width, display-backing-store)
 (display-save-under, display-planes, display-color-cells)
 (display-visual-class, display-monitor-attributes-list)
 (display-screens): Mention in the doc string that the argument can
 be either a display name or a frame.  Improve the docs of the
 monitor attributes.

10 years agoFix bug #18610 with crashes when visiting files with ESC and 8-bit bytes.
Kenichi Handa [Wed, 8 Oct 2014 07:30:57 +0000 (10:30 +0300)]
Fix bug #18610 with crashes when visiting files with ESC and 8-bit bytes.

 src/coding.c (detect_coding_iso_2022): Set coding->rejected
 correctly when an invalid escape sequence is found.

 Backported from trunk.

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

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

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

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

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

10 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

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

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

10 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
10 years agoIn term-window-width subtract 1 from width when any fringe has zero width. (Bug#18601)
Martin Rudalics [Mon, 6 Oct 2014 06:45:10 +0000 (08:45 +0200)]
In term-window-width subtract 1 from width when any fringe has zero width. (Bug#18601)

* term.el (term-window-width): Subtract 1 from the width when
any fringe has zero width, not just the right fringe.  (Bug#18601)

10 years ago* package.texi (Package Menu): Package list was changed to not say "unsigned"
Glenn Morris [Mon, 6 Oct 2014 06:34:21 +0000 (23:34 -0700)]
* package.texi (Package Menu): Package list was changed to not say "unsigned"

10 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

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

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

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

10 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

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

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

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

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

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

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

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

10 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

10 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'

10 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

10 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

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

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

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

10 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

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

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

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

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

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

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

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

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

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

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

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

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

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