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

105043 commits

Author SHA1 Message Date
Glenn Morris
6bdcb2b28f Auto-commit of generated files. 2012-08-14 07:17:35 -04:00
Chong Yidong
dd3c46bd95 Fix build failure with glibc-2.16.
* lib/gnulib.mk:
* lib/stdio.in.h:
* m4/stdio_h.m4: Do not assume that gets is defined.

Fixes: debbugs:11873
2012-08-14 17:59:25 +08:00
Ulrich Mueller
7f654971e0 * systime.h (EMACS_TIME_CMP): Don't cast time_t values to long.
Fixes: debbugs:11712
2012-08-14 14:58:01 +08:00
Chong Yidong
45e7ed7165 Improve the file-local variable regression test.
* test/automated/files.el: Test every combination of values for
enable-local-variables and enable-local-eval.
2012-08-14 12:04:25 +08:00
Eli Zaretskii
b7f501c736 Backport: Don't disable Unicode menus on Windows NT and later.
src/w32menu.c: Include w32heap.h.
 (add_menu_item): If the call to AppendMenuW (via
 unicode_append_menu) fails, disable Unicode menus only if we are
 running on Windows 9X/Me.
 src/makefile.w32-in ($(BLD)/w32menu.$(O)): Depend on w32heap.h.
2012-08-13 21:34:37 +03:00
Leo Liu
4432d2e25b * lisp/net/rcirc.el (rcirc-split-message): New function.
(rcirc-send-message): Use it.

Fixes: debbugs:12051
2012-08-14 01:22:42 +08:00
Chong Yidong
170aedb97e Backport fix for Bug#11677 from trunk 2012-08-13 13:11:19 +08:00
Jan Djärv
c17d5a38db Backports for 1995-05-29T20:16:10Z!kwzh@gnu.org, 1995-05-03T21:38:13Z!rms@gnu.org and 1995-05-31T19:46:12Z!kwzh@gnu.org.
* nsmenu.m (ns_update_menubar): Add braces to ambigous if-else.

* nsmenu.m (Popdown_data): New struct.
(pop_down_menu): p->pointer is Popdown_data.  Release the pool and
free Popdown_data.
(ns_popup_dialog): Use NSAutoreleasePool and pass it to pop_down_menu.
(initWithContentRect): Make imgView and contentView non-static
and autorelease them.  Also autorelease img and matrix.
(dealloc): Remove (Bug#1995-05-29T20:16:10Z!kwzh@gnu.org).

* nsterm.m (keyDown:): Interpret flags without left/right bits
as the left key (Bug#1995-05-03T21:38:13Z!rms@gnu.org).

* nsterm.m (ns_read_socket): Return early if there is a modal
window (Bug#1995-05-31T19:46:12Z!kwzh@gnu.org).
2012-08-12 11:31:53 +02:00
Glenn Morris
711f4590cd * test/automated/files.el (files-test-disable-local-variables): New test. 2012-08-10 00:13:06 -07:00
Glenn Morris
23c726f65a * admin/bzrmerge.el (bzrmerge-resolve): Disable local eval:. 2012-08-09 23:57:34 -07:00
Glenn Morris
fbb5e33648 * lisp/emacs-lisp/copyright.el (copyright-update-directory): Logic fix. 2012-08-09 23:56:01 -07:00
Glenn Morris
7aacaf15a2 Disable local eval: in some places
* tutorial.el (help-with-tutorial):
* emacs-lisp/copyright.el (copyright-update-directory):
* emacs-lisp/autoload.el (autoload-find-generated-file)
(autoload-find-file): Disable local eval: (for insurance).
2012-08-09 23:53:52 -07:00
Glenn Morris
5f168c207f * test/automated/files.el: New file. 2012-08-08 00:33:10 -07:00
YAMAMOTO Mitsuharu
8ccd072a2c * unexmacosx.c (copy_data_segment): Copy initialized data in statically linked libraries from input file rather than memory. 2012-08-08 14:44:53 +09:00
Glenn Morris
bf1757d19a * test/automated/Makefile.in (all): Fix typo. 2012-08-07 15:11:18 -04:00
Glenn Morris
f40b9f106b hack-local-variables-filter fix for bug#12155
* lisp/files.el (hack-local-variables-filter): If an eval: form is not
known to be safe, and enable-local-variables is :safe, then ignore
the form totally, as is done for non-eval forms.
2012-08-07 14:41:39 -04:00
YAMAMOTO Mitsuharu
db74a5fcb7 Add new load commands for OS X 10.8. 2012-08-07 12:47:26 +09:00
Chong Yidong
7178e7222c Backport 2012-06-23T12:54:59Z!cyd@gnu.org from trunk 2012-08-07 11:24:52 +08:00
Chong Yidong
de655540a9 Backport 2012-06-23T12:48:24Z!cyd@gnu.org from trunk 2012-08-07 11:24:35 +08:00
Aurélien Aptel
5a4c42ba30 * doc/misc/url.texi (Parsed URLs): Adjust to the code's use of defstruct.
Fixes: debbugs:12096
2012-08-06 17:50:25 -04:00
Glenn Morris
074945e333 Revert typo in previous 2012-08-06 17:33:21 -04:00
Glenn Morris
d2d92e2425 Remove non-standard comment from license section of commentary 2012-08-06 16:53:28 -04:00
Stefan Monnier
638eaeb924 * lisp/progmodes/cperl-mode.el (cperl-mode): Yet another fix for
syntax-propertize-function.

Fixes: debbugs:10095
2012-08-06 13:41:32 -04:00
Eli Zaretskii
a08eadfecc Fix bug #12138 with indexing "closures".
doc/lispref/functions.texi (Closures): Put the main index entry for
 "closures" here.
 doc/lispref/variables.texi (Lexical Binding): Disambiguate the index entry
 for "closures".
2012-08-06 19:55:41 +03:00
Glenn Morris
8d5dd3701c NEWS clarification
Fixes: debbugs:12104
2012-08-04 21:56:28 -07:00
Chong Yidong
0c51ff6dcc * emacs.texi: Fix ISBN.
Fixes: debbugs:12080
2012-07-31 11:53:10 +08:00
Chong Yidong
a55739d3d0 Fix bogus code in gdb-place-breakpoints.
* progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
gdb-get-location.
2012-07-28 23:09:36 +08:00
Eli Zaretskii
7747226193 Fix bug #12073 with outdated FAQ entry.
doc/misc/faq.texi (Right-to-left alphabets): Update for Emacs 24.
2012-07-28 10:38:32 +03:00
Leo Liu
9a0f8f2e95 Avoid leaving nil in the alist in cc-imenu-objc-function
Fixes: debbugs:12029
2012-07-26 00:11:23 +08:00
Chong Yidong
971635eeb9 Backport fix for Bug#11989 from trunk.
* mouse.el (mouse-drag-track): Do not set the mark if the user
releases the mouse without selecting anything.
2012-07-25 14:14:30 +08:00
Eli Zaretskii
3dfa7993b0 Fix bug #11958 with description of mouse-2 in the Emacs manual.
doc/emacs/frames.texi (Mouse Commands): Fix the description of mouse-2.
2012-07-21 12:48:11 +03:00
Leo Liu
2c73e345cc Use match-string-no-properties instead in c-defun-name
for consistency.
2012-07-21 09:41:48 +08:00
Leo Liu
3646bcd6b8 * lisp/progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
Fixes: debbugs:7879
2012-07-21 05:18:52 +08:00
Jan Djärv
fe1a523fd9 Backport: Recognize Objective-C methods also in c-defun-name
Fixes: debbugs:7879
2012-07-21 03:59:49 +08:00
Leo Liu
542dfbde70 * progmodes/cc-langs.el (c-symbol-start): Include char _.
Fixes: debbugs:11986
2012-07-20 19:36:41 +08:00
Chong Yidong
23dc774492 Avoid two crashes involving windows on dead frames.
* window.c (Fwindow_absolute_pixel_edges)
(Fdelete_other_windows_internal): Signal an error if the window is
on a dead frame.

Fixes: debbugs:11984
2012-07-19 11:33:08 +08:00
Chong Yidong
e32a12b5ec * emacs.texi: Update ISBN. 2012-07-19 09:15:06 +08:00
Stefan Monnier
d0b822e38a * lisp/userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
* lisp/progmodes/bug-reference.el, lisp/misearch.el: Provide themselves.

Fixes: debbugs:11915
2012-07-18 07:44:13 -04:00
Stefan Monnier
95bdccb782 * lisp/progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
of narrowed buffer.

Fixes: debbugs:11966
2012-07-18 05:33:09 -04:00
Eli Zaretskii
fbf31a9c2c Don't use FILE_SYSTEM_CASE in MS-DOS, or anywhere else.
src/s/msdos.h (FILE_SYSTEM_CASE): Don't define.
 src/fileio.c (FILE_SYSTEM_CASE): Don't define.
 (Ffile_name_directory, Fexpand_file_name): Don't use FILE_SYSTEM_CASE.
 Fixes problems on MS-DOS with Vtemp_file_name_pattern when
 call-process-region passes it through expand-file-name.
 src/dired.c (file_name_completion): Don't use FILE_SYSTEM_CASE.
 admin/CPP-DEFINES: Remove FILE_SYSTEM_CASE.
2012-07-14 13:46:56 +03:00
Andreas Schwab
8a05d57a7d Fixes: debbugs:11917
Fix crash when creating indirect buffer
* buffer.c (buffer_lisp_local_variables): Add argument CLONE.
Don't handle unbound variables specially if non-zero.
(Fbuffer_local_variables): Pass zero.
(clone_per_buffer_values): Pass non-zero.
2012-07-12 09:12:24 +02:00
Andreas Schwab
9598ddae26 * shr.el (shr-expand-url): Handle URL starting with `//'. 2012-07-10 11:42:48 +02:00
Stefan Monnier
aa7aaf8f0b * lisp/progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
change.

Fixes: debbugs:11826
2012-07-09 09:54:50 -04:00
Glenn Morris
cb4429739a * lisp/simple.el (kill-whole-line): Doc tweak. 2012-07-02 18:42:45 -04:00
Eli Zaretskii
93842198fc Fix bug #11827 with file-relative-name on MS-Windows.
lisp/files.el (file-relative-name): Compare file names
 case-insensitively if on MS-Windows or MS-DOS, or if
 read-file-name-completion-ignore-case is non-nil.  Don't use
 case-fold-search for this purpose.
2012-07-01 19:38:53 +03:00
Chong Yidong
3812efdc6c Texinfo markup fixes for Emacs manual.
* doc/emacs/maintaining.texi (Basic VC Editing, VC Pull, Merging):
* doc/emacs/basic.texi (Erasing, Basic Undo): Fix markup.
2012-06-29 22:54:02 +08:00
Andreas Schwab
3d8b9024ad * calendar/cal-dst.el (calendar-current-time-zone): Return
calendar-current-time-zone-cache if non-nil.
2012-06-28 14:13:38 +02:00
Glenn Morris
538044ed9e Add a PROBLEMS note about the libotf name-clash annoyance 2012-06-28 00:47:19 -07:00
Andreas Schwab
57570cd38d * gnutls.c (emacs_gnutls_handshake): Revert last change. Add QUIT
to make the loop interruptible.
2012-06-28 09:12:59 +02:00
Andreas Schwab
d01fd55f64 * gnutls.c (emacs_gnutls_handshake): Only retry if
GNUTLS_E_INTERRUPTED.
2012-06-26 11:39:52 +02:00