1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00
Commit graph

100189 commits

Author SHA1 Message Date
Stefan Monnier
8fff8daa89 * lisp/pcomplete.el (pcomplete-completions-at-point):
Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
pcomplete-seen is non-nil.
(pcomplete-comint-setup): Also recognize the new comint/shell
completion functions.
(pcomplete-do-complete): Don't call pcomplete-norm-func unless
pcomplete-seen is non-nil.
2011-04-27 21:18:12 -03:00
Paul Eggert
4cf0fdcb15 Merge: * doprnt.c (doprnt): Support "ll" length modifier, for long long. 2011-04-27 16:48:43 -07:00
Juanma Barranquero
ea51cceb3c src/makefile.w32-in: Update dependencies. 2011-04-28 01:35:33 +02:00
Paul Eggert
b71a1728a9 Fix comments. 2011-04-27 16:04:20 -07:00
Paul Eggert
226be1b02f * doprnt.c (doprnt): Fix two typos for long long. 2011-04-27 15:59:09 -07:00
Paul Eggert
54b8e3f775 Merge from mainline. 2011-04-27 15:29:33 -07:00
Eli Zaretskii
fc3b729195 Support inttypes.h and strtoumax in non-MinGW builds on Windows.
nt/inc/inttypes.h: New file.
 nt/config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX)
 (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
2011-04-28 00:14:34 +03:00
Juanma Barranquero
841a157789 Fix ChangeLog typos. 2011-04-27 21:51:19 +02:00
Paul Eggert
8f41de3a66 Add FIXME comment. 2011-04-27 12:05:21 -07:00
Paul Eggert
e810457d00 * doprnt.c (doprnt): Support "ll" length modifier, for long long. 2011-04-27 11:22:21 -07:00
Eli Zaretskii
94dcfacf12 Improve `doprnt' and its usage. (Bug#8545)
src/doprnt.c (doprnt): Make sure `format' is never accessed beyond
 `format_end'.  Remove support for %l as a conversion specifier.
 Don't use xrealloc.  Improve diagnostics when the %l size modifier
 is used.  Update the commentary.
 src/eval.c (verror): Simplify calculation of size_t.
 src/coding.c (Ffind_operation_coding_system): Fix diagnostic error
 messages.
2011-04-27 21:15:29 +03:00
Ulf Jasper
211ec9072d Applied icalendar patches from Niels Giesen.
lisp/ChangeLog:

2011-04-27  Niels Giesen <niels.giesen@gmail.com>

	* calendar/icalendar.el (diary-lib): Added require statement.
	(icalendar--create-uid): Read out a uid from a text-property on
	the first character in the entry. This allows for code to add its
	own uid to the entry.
	(icalendar--convert-float-to-ical): Add export of
	`diary-float'-entries save for those with the optional DAY
2011-04-27 19:48:35 +02:00
Daniel Colascione
2a782793a8 * subr.el (shell-quote-argument): Use alternate escaping strategy
when we spot a variable reference in a string.
2011-04-27 00:56:55 -07:00
Paul Eggert
f61f41d747 * buffer.c (init_buffer) [USE_MMAP_FOR_BUFFERS]: Adjust to aliasing change 2011-04-27 01:06:26 -07:00
Glenn Morris
4fda9c95da Auto-commit of generated files. 2011-04-27 02:48:35 -04:00
Paul Eggert
f717c834b9 Merge: nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF. 2011-04-26 23:03:54 -07:00
Paul Eggert
96fb4434c8 * nsmenu.m: Replace all uses of XVECTOR with ASIZE and AREF.
This makes this file independent of the recent pseudovector change.
2011-04-26 23:01:43 -07:00
Daniel Colascione
fe9c230b7f * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions in
quoted strings and bail out.
2011-04-26 21:19:15 -07:00
Ben Key
40697cd9ed Fixed a bug that caused configure with --enable-checking=stringoverrun to have no effect. 2011-04-26 21:17:44 -05:00
Paul Eggert
b6f5355a9e Update from gnulib. 2011-04-26 12:29:47 -07:00
Paul Eggert
aa0b008761 * lisp.h: Add comments about struct vectorlike_header. 2011-04-26 12:14:07 -07:00
Paul Eggert
69e9b5a37c * keyboard.c (handle_user_signal): Fix pointer signedness problem. 2011-04-26 11:02:10 -07:00
Paul Eggert
b5f869a7d8 Merge from mainline. 2011-04-26 10:50:51 -07:00
Juanma Barranquero
bd0d2ee233 Fix typos in ChangeLogs. 2011-04-26 16:07:29 +02:00
Juanma Barranquero
895009e16a src/keyboard.c (QCrtl): Rename from Qrtl. All uses changed. 2011-04-26 16:02:55 +02:00
Stefan Monnier
d4aa710a15 Make ERC use completion-at-point
* lisp/erc/erc.el (erc-mode-map): Use completion-at-point.
(erc-mode): Tell completion-at-point to obey erc-complete-functions.
(erc-complete-word-at-point): New function.
(erc-complete-word): Make it obsolete.
* lisp/erc/erc-pcomplete.el (erc-pcompletions-at-point): New function.
(pcomplete): Use it.
* lisp/erc/erc-dcc.el (erc-dcc-chat-mode-map): Use completion-at-point.
(erc-dcc-chat-mode): Tell completion-at-point to obey
erc-complete-functions.
* lisp/erc/erc-button.el (erc-button-next-function): New function extracted from
erc-button-next.
(button, erc-button-next): Use it.
2011-04-26 10:50:09 -03:00
Ted Zlatanov
6a7a1b0b74 Don't return in emacs_gnutls_handshake without an explicit value.
* gnutls.c (emacs_gnutls_handshake): Return an error if we're not
supposed to be handshaking.
Reported by Paul Eggert <eggert@cs.ucla.edu>.
2011-04-26 07:59:12 -05:00
Ted Zlatanov
17519c9050 Fix verb tense in ChangeLog message. 2011-04-26 07:49:53 -05:00
Daniel Colascione
0438ce915d Implement debug-on-event 2011-04-26 04:26:05 -07:00
Daniel Colascione
8f91bf9345 Improve Windows quoting robustness 2011-04-26 03:44:03 -07:00
Paul Eggert
847ab9d19c Add bug numbers. 2011-04-26 00:52:52 -07:00
Paul Eggert
c892615246 * gnutls.c (emacs_gnutls_write): Don't use uninitialized rtnval if nbyte <= 0. 2011-04-26 00:35:23 -07:00
Paul Eggert
8d4c395517 * gnutls.c: Remove unused local. 2011-04-26 00:26:02 -07:00
Paul Eggert
7754e1516f * gnutls.c (Fgnutls_boot): gnutls_certificate_verify_peers2 wants unsigned *. 2011-04-26 00:23:56 -07:00
Paul Eggert
0c8c7e5cff * gnutls.c (emacs_gnutls_handle_error): Remove unused local. 2011-04-26 00:20:51 -07:00
Paul Eggert
080e5a8d90 * gnutls.c (emacs_gnutls_handshake): Don't return a garbage value.
Expect the caller to check whether GNUTLS_STAGE_HANDSHAKE_CANDO <=
proc->gnutls_initstage, if the check is needed.  The check isn't
needed for one caller, Fgnutls_boot.
(emacs_gnutls_read): Do that check.  This is the other caller.
2011-04-26 00:12:16 -07:00
Paul Eggert
671875dac1 Merge from mainline. 2011-04-25 23:17:52 -07:00
Glenn Morris
0c6b7b19e5 * admin/notes/bzr: Small updates. 2011-04-25 21:50:33 -07:00
Glenn Morris
f74c8aebdd * admin/notes/years: Small updates. 2011-04-25 21:45:37 -07:00
Paul Eggert
f904488ff4 Combine changelog entries. 2011-04-25 14:50:24 -07:00
Paul Eggert
c4cfe310db * lisp.h (XVECTORLIKE_HEADER_SIZE): Remove. The only use is now expanded. 2011-04-25 14:38:32 -07:00
Dan Nicolaescu
f2d3ba6f13 Convert some function definitions to standard C.
* src/alloc.c (check_sblock, check_string_bytes)
(check_string_free_list): Convert to standard C.
2011-04-25 14:36:06 -07:00
Paul Eggert
77b37c0557 * lisp.h: (XVECTOR_SIZE): Remove. All uses replaced with ASIZE.
(ASIZE): Now contains previous implementation of XVECTOR_SIZE
instead of invoking XVECTOR_SIZE.
2011-04-25 14:34:39 -07:00
Paul Eggert
b102ceb110 * lisp.h: Say "vectorlike header" rather than "vector header.
(struct vectorlike_header): Rename from struct vector_header.
(XVECTORLIKE_HEADER_SIZE): Renamed from XVECTOR_HEADER_SIZE.
All uses changed.
2011-04-25 12:40:22 -07:00
Stefan Monnier
d090ed6c78 * lisp/emulation/cua-base.el (cua-selection-mode): Make it toggle again. 2011-04-25 15:17:17 -03:00
Michael Albinus
69026abaa5 * trampver.texi: Update release number. 2011-04-25 20:14:38 +02:00
Michael Albinus
bfd31217ea * net/tramp.el (tramp-process-actions): Add POS argument. Delete
region between POS and (pos).

* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use
`nil' position in `tramp-process-actions' call.
(tramp-maybe-open-connection): Call `tramp-process-actions' with pos.

* net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
position in `tramp-process-actions' call.

* net/trampver.el: Update release number.
2011-04-25 20:10:17 +02:00
Stefan Monnier
850256b5e9 * lisp/custom.el (defcustom): Obey lexical-binding. 2011-04-25 13:52:51 -03:00
Stefan Monnier
e92f3bd31b Fix octave-inf completion problems reported by Alexander Klimov.
* lisp/progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
Inherit from octave-mode-syntax-table.
(inferior-octave-mode): Set info-lookup-mode.
(inferior-octave-completion-at-point): New function.
(inferior-octave-complete): Use it and completion-in-region.
(inferior-octave-dynamic-complete-functions): Use it as well, and use
comint-filename-completion.
* lisp/progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
symbol elements which shouldn't be word elements.
(octave-font-lock-keywords, octave-beginning-of-defun)
(octave-function-header-regexp): Adjust regexps accordingly.
(octave-mode-map): Also use info-lookup-symbol for C-c C-h.
2011-04-25 13:29:31 -03:00
Juanma Barranquero
cd22b309b4 lisp/net/gnutls.el (gnutls-errorp): Declare before first use. 2011-04-25 15:47:23 +02:00