1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

117846 Commits

Author SHA1 Message Date
Eli Zaretskii
18e91e6296 Added BPA. Emacs aborts at startup. 2014-10-09 20:54:42 +03:00
Glenn Morris
ad1ababf7f * doc/emacs/help.texi: Avoid overfull hbox. 2014-10-09 13:39:07 -04:00
Glenn Morris
7b9ecf78f0 * doc/lispref/control.texi: Avoid overfull hbox. 2014-10-09 13:36:02 -04:00
Glenn Morris
52b16eb4c0 * doc/lispref/elisp.texi (DATE): Bump to October 2014.
I still have no idea what this is for, but newer is better!
2014-10-09 09:07:40 -07:00
Paul Eggert
078c4dc635 Spelling fixes. 2014-10-09 08:59:41 -07:00
Stefan Monnier
d7a6097b57 * src/frame.c (Fmouse_pixel_position): Call Vmouse_position_function.
Fixes: debbugs:18638
2014-10-09 09:50:10 -04:00
Paul Eggert
8881986b3e * 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
2014-10-08 23:54:10 -07:00
Glenn Morris
32ade3f01a Merge from emacs-24; up to 2014-07-22T06:37:31Z!yamaoka@jpl.org 2014-10-08 21:23:09 -07:00
Stefan Monnier
fdcb06012a * lisp/frame.el (make-frame): Use t rather than nil for `w'.
Fixes: debbugs:18653
2014-10-08 23:04:59 -04:00
Leo Liu
b4030330c8 * NEWS: Mention optional arg to terpri and new cl-lib functions. 2014-10-09 09:52:47 +08:00
Glenn Morris
942a57a2a5 * doc/lispref/frames.texi: Tweak previous tweaks. 2014-10-08 21:09:10 -04:00
Glenn Morris
01058f734a 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
2014-10-08 20:47:30 -04:00
Leo Liu
2dbd7a37a8 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)
2014-10-09 06:05:48 +08:00
Glenn Morris
285dc43772 * lisp/frame.el: Fix doc typo in previous 2014-10-08 15:37:37 -04:00
Glenn Morris
289a43910e * cal-x.el (calendar-dedicate-diary): Drop support for deleted aliases. 2014-10-08 14:30:45 -04:00
Leo Liu
97272dad9f * 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
2014-10-08 23:34:58 +08:00
Eli Zaretskii
c35e776245 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.
2014-10-08 15:32:38 +03:00
Eli Zaretskii
c7bfd98a57 doc/lispref/frames.texi: (Multiple Terminals): Fix last commit. 2014-10-08 14:17:13 +03:00
Eli Zaretskii
d295469e8e 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.
2014-10-08 13:39:45 +03:00
Eli Zaretskii
28ec0a87ca 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.
2014-10-08 13:16:45 +03:00
Kenichi Handa
a7044030f3 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.
2014-10-08 10:30:57 +03:00
Glenn Morris
23755ba32b * 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
2014-10-07 16:17:09 -04:00
Eli Zaretskii
8ca8fde8a2 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.
2014-10-07 20:18:07 +03:00
Dmitry Antipov
5bdd495965 * font.c (Ffont_get_glyphs): Use validate_subarray and fix
the case where an optional string is used.  Adjust docstring.
2014-10-07 20:00:35 +04:00
Glenn Morris
5571633133 admin/unidata/Makefile.in small cleanup
* admin/unidata/Makefile.in (unidir): Rename from DSTDIR.  Change all uses.
(charprop.el, install): Remove rules.
(clean): Simplify.
2014-10-06 22:14:28 -07:00
Glenn Morris
3eb1d3a0f8 * lisp/font-lock.el (font-lock-fontify-buffer): Fix interactive-only markup. 2014-10-06 20:20:33 -07:00
Wilson Snyder
dd7023e4f7 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.
2014-10-06 20:19:10 -07:00
Jan Tatarik
83f046769b lisp/gnus/gnus-icalendar.el (gnus-icalendar-identities): Include message-alternative-emails 2014-10-06 22:11:44 +00:00
Ulf Jasper
ceea5375ae Fix "make docs" failure
* doc/misc/newsticker.texi (Supported Formats): Fix order of subheading and
itemize.
2014-10-06 20:26:24 +02:00
Stefan Monnier
3ef041ae3b * 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
2014-10-06 13:47:56 -04:00
Stefan Monnier
71785ae78c * 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.
2014-10-06 10:12:56 -04:00
Glenn Morris
87666a0567 * 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
2014-10-06 00:00:33 -07:00
Martin Rudalics
e76955cbb5 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)
2014-10-06 08:45:10 +02:00
Glenn Morris
da55edac25 * package.texi (Package Menu): Package list was changed to not say "unsigned" 2014-10-05 23:34:21 -07:00
Glenn Morris
102c5a3730 * 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
2014-10-05 23:30:07 -07:00
Jan Djärv
971113a869 * configure.ac: Add -Wno-string-plus-int for clang. 2014-10-06 08:21:13 +02:00
Leo Liu
195c5c4c92 * imenu.el (imenu): Re-write for clarity. 2014-10-06 11:59:38 +08:00
Glenn Morris
3f65970414 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.
2014-10-05 19:02:04 -07:00
Paul Eggert
918b5def3f * 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
2014-10-05 16:18:31 -07:00
Jan Djärv
d589d25223 Fix disable toolbar for GNUStep.
* nsterm.m (updateFrameSize:): Only call update_frame_tool_bar
if toolbar is visible.

Fixes: debbugs:18345
2014-10-05 20:03:42 +02:00
Jan Djärv
223ed51dc5 * nsfont.m (nsfont_draw): Use CGFloat for GNUstep newer than 0.23.
Fixes: debbugs:18030
2014-10-05 19:51:11 +02:00
Glenn Morris
249635f0df Merge from emacs-24; up to 2014-07-21T01:34:03Z!monnier@iro.umontreal.ca 2014-10-05 10:19:23 -07:00
Jan Djärv
6e604a82a0 * nsterm.m (ns_draw_window_cursor): Adjust y for hbar cursor only if smaller than
line height (Bug#17977).

Fixes: debbugs:18345
2014-10-05 17:46:10 +02:00
Jan Djärv
08f27aa39c * nsterm.m (ns_select, ns_read_socket): Use unwind_protect to decrease
apploopnr.

Fixes: debbugs:18345
2014-10-05 16:17:43 +02:00
Jan Djärv
47232a2faa * NEWS: Mention ns-use-fullscreen-animation. 2014-10-05 14:25:00 +02:00
Jan Djärv
73267792f0 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.
2014-10-05 14:20:17 +02:00
Jan Djärv
6a4b1b1729 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.
2014-10-05 13:34:59 +02:00
Kenichi Handa
21c1abcae1 coding.c (detect_coding_iso_2022): Fix previous change. 2014-10-05 17:52:04 +09:00
Kenichi Handa
1943141cf6 coding.c (detect_coding_iso_2022): Set coding->rejected correctly when an invalid escape sequence is found (Bug#18610). 2014-10-05 17:17:15 +09:00
Leo Liu
c938c07bf3 * imenu.el (imenu-default-goto-function): Fix typo. 2014-10-05 08:58:38 +08:00