diff options
| author | Glenn Morris | 2014-04-05 11:33:55 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-04-05 11:33:55 -0700 |
| commit | 50ea0f87d6e13642ae3851e3516a5e716a39584b (patch) | |
| tree | 3a7404ac5d13b30ff3b85480b81e4e50b2cd6e22 | |
| parent | f5e4494cd06f7624382f815585419f489bfe36c3 (diff) | |
| download | emacs-50ea0f87d6e13642ae3851e3516a5e716a39584b.tar.gz emacs-50ea0f87d6e13642ae3851e3516a5e716a39584b.zip | |
Minor doc updates related to dribble files
* doc/emacs/trouble.texi (Checklist):
* doc/lispref/os.texi (Recording Input): Dribble files may contain passwords.
* lisp/help.el (view-lossage): Doc tweak.
* src/keyboard.c (Fopen_dribble_file): Doc tweak.
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/trouble.texi | 4 | ||||
| -rw-r--r-- | doc/lispref/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/os.texi | 13 | ||||
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/help.el | 5 | ||||
| -rw-r--r-- | src/ChangeLog | 16 | ||||
| -rw-r--r-- | src/keyboard.c | 8 |
8 files changed, 33 insertions, 25 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index c0581424833..56daee10101 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-04-05 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * trouble.texi (Checklist): Dribble files may contain passwords. | ||
| 4 | |||
| 1 | 2014-04-04 Glenn Morris <rgm@gnu.org> | 5 | 2014-04-04 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * files.texi (Backup Names): | 7 | * files.texi (Backup Names): |
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index e7bff6c28a4..52e5b9c4045 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi | |||
| @@ -759,7 +759,9 @@ customizations. | |||
| 759 | One way to record the input to Emacs precisely is to write a dribble | 759 | One way to record the input to Emacs precisely is to write a dribble |
| 760 | file. To start the file, use the @kbd{M-x open-dribble-file | 760 | file. To start the file, use the @kbd{M-x open-dribble-file |
| 761 | @key{RET}} command. From then on, Emacs copies all your input to the | 761 | @key{RET}} command. From then on, Emacs copies all your input to the |
| 762 | specified dribble file until the Emacs process is killed. | 762 | specified dribble file until the Emacs process is killed. Be aware |
| 763 | that sensitive information (such as passwords) may end up recorded in | ||
| 764 | the dribble file. | ||
| 763 | 765 | ||
| 764 | @item | 766 | @item |
| 765 | @findex open-termscript | 767 | @findex open-termscript |
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 1fb664893f8..b31398fffc4 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-04-05 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * os.texi (Recording Input): Dribble files may contain passwords. | ||
| 4 | |||
| 1 | 2014-04-04 Glenn Morris <rgm@gnu.org> | 5 | 2014-04-04 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * backups.texi (Making Backups, Reverting): | 7 | * backups.texi (Making Backups, Reverting): |
diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index df30ac12e2e..c80dfda096c 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi | |||
| @@ -1991,20 +1991,11 @@ This function opens a @dfn{dribble file} named @var{filename}. When a | |||
| 1991 | dribble file is open, each input event from the keyboard or mouse (but | 1991 | dribble file is open, each input event from the keyboard or mouse (but |
| 1992 | not those from keyboard macros) is written in that file. A | 1992 | not those from keyboard macros) is written in that file. A |
| 1993 | non-character event is expressed using its printed representation | 1993 | non-character event is expressed using its printed representation |
| 1994 | surrounded by @samp{<@dots{}>}. | 1994 | surrounded by @samp{<@dots{}>}. Be aware that sensitive information |
| 1995 | (such as passwords) may end up recorded in the dribble file. | ||
| 1995 | 1996 | ||
| 1996 | You close the dribble file by calling this function with an argument | 1997 | You close the dribble file by calling this function with an argument |
| 1997 | of @code{nil}. | 1998 | of @code{nil}. |
| 1998 | |||
| 1999 | This function is normally used to record the input necessary to | ||
| 2000 | trigger an Emacs bug, for the sake of a bug report. | ||
| 2001 | |||
| 2002 | @example | ||
| 2003 | @group | ||
| 2004 | (open-dribble-file "~/dribble") | ||
| 2005 | @result{} nil | ||
| 2006 | @end group | ||
| 2007 | @end example | ||
| 2008 | @end deffn | 1999 | @end deffn |
| 2009 | 2000 | ||
| 2010 | See also the @code{open-termscript} function (@pxref{Terminal Output}). | 2001 | See also the @code{open-termscript} function (@pxref{Terminal Output}). |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 71f3749a19c..2084cbbb7b6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-04-05 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * help.el (view-lossage): Doc tweak. | ||
| 4 | |||
| 1 | 2014-04-05 Matthias Dahl <ml_emacs-lists@binary-island.eu> | 5 | 2014-04-05 Matthias Dahl <ml_emacs-lists@binary-island.eu> |
| 2 | 6 | ||
| 3 | * faces.el (face-spec-recalc): Call make-face-x-resource-internal | 7 | * faces.el (face-spec-recalc): Call make-face-x-resource-internal |
diff --git a/lisp/help.el b/lisp/help.el index 14dda6456cf..fdbf91f7dbd 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | ;;; help.el --- help commands for Emacs | 1 | ;;; help.el --- help commands for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985-1986, 1993-1994, 1998-2014 Free Software | 3 | ;; Copyright (C) 1985-1986, 1993-1994, 1998-2014 Free Software Foundation, Inc. |
| 4 | ;; Foundation, Inc. | ||
| 5 | 4 | ||
| 6 | ;; Maintainer: emacs-devel@gnu.org | 5 | ;; Maintainer: emacs-devel@gnu.org |
| 7 | ;; Keywords: help, internal | 6 | ;; Keywords: help, internal |
| @@ -450,7 +449,7 @@ is specified by the variable `message-log-max'." | |||
| 450 | (defun view-lossage () | 449 | (defun view-lossage () |
| 451 | "Display last 300 input keystrokes. | 450 | "Display last 300 input keystrokes. |
| 452 | 451 | ||
| 453 | To record all your input on a file, use `open-dribble-file'." | 452 | To record all your input, use `open-dribble-file'." |
| 454 | (interactive) | 453 | (interactive) |
| 455 | (help-setup-xref (list #'view-lossage) | 454 | (help-setup-xref (list #'view-lossage) |
| 456 | (called-interactively-p 'interactive)) | 455 | (called-interactively-p 'interactive)) |
diff --git a/src/ChangeLog b/src/ChangeLog index c370bdc0404..9b084701933 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,15 +1,17 @@ | |||
| 1 | 2014-04-05 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * keyboard.c (Fopen_dribble_file): Doc tweak. | ||
| 4 | |||
| 1 | 2014-04-04 Jan Djärv <jan.h.d@swipnet.se> | 5 | 2014-04-04 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 6 | ||
| 3 | Backport from trunk. | 7 | Backport from trunk. |
| 4 | * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool | 8 | * nsterm.m (updateFrameSize:): If waiting for the tool bar and tool |
| 5 | bar is zero height, just return (Bug#16976). | 9 | bar is zero height, just return (Bug#16976). |
| 6 | (initFrameFromEmacs:): Initialize wait_for_tool_bar. | 10 | (initFrameFromEmacs:): Initialize wait_for_tool_bar. |
| 7 | 11 | * nsterm.h (EmacsView): Add wait_for_tool_bar. | |
| 8 | * nsterm.h (EmacsView): Add wait_for_tool_bar. | 12 | * nsmenu.m (update_frame_tool_bar): Return early if view or toolbar |
| 9 | |||
| 10 | * nsmenu.m (update_frame_tool_bar): Return early if view or toolbar | ||
| 11 | is nil. If waiting for toolbar to complete, force a redraw. | 13 | is nil. If waiting for toolbar to complete, force a redraw. |
| 12 | (free_frame_tool_bar): Set wait_for_tool_bar = NO (Bug#16976) | 14 | (free_frame_tool_bar): Set wait_for_tool_bar = NO (Bug#16976). |
| 13 | 15 | ||
| 14 | 2014-04-03 Ken Brown <kbrown@cornell.edu> | 16 | 2014-04-03 Ken Brown <kbrown@cornell.edu> |
| 15 | 17 | ||
diff --git a/src/keyboard.c b/src/keyboard.c index 20e75822fd3..3b50140684e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | /* Keyboard and mouse input; editor command loop. | 1 | /* Keyboard and mouse input; editor command loop. |
| 2 | 2 | ||
| 3 | Copyright (C) 1985-1989, 1993-1997, 1999-2014 Free Software Foundation, | 3 | Copyright (C) 1985-1989, 1993-1997, 1999-2014 Free Software Foundation, Inc. |
| 4 | Inc. | ||
| 5 | 4 | ||
| 6 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| 7 | 6 | ||
| @@ -10071,7 +10070,10 @@ DEFUN ("open-dribble-file", Fopen_dribble_file, Sopen_dribble_file, 1, 1, | |||
| 10071 | "FOpen dribble file: ", | 10070 | "FOpen dribble file: ", |
| 10072 | doc: /* Start writing all keyboard characters to a dribble file called FILE. | 10071 | doc: /* Start writing all keyboard characters to a dribble file called FILE. |
| 10073 | If FILE is nil, close any open dribble file. | 10072 | If FILE is nil, close any open dribble file. |
| 10074 | The file will be closed when Emacs exits. */) | 10073 | The file will be closed when Emacs exits. |
| 10074 | |||
| 10075 | Be aware that this records ALL characters you type! | ||
| 10076 | This may include sensitive information such as passwords. */) | ||
| 10075 | (Lisp_Object file) | 10077 | (Lisp_Object file) |
| 10076 | { | 10078 | { |
| 10077 | if (dribble) | 10079 | if (dribble) |