Replace "focus" with "context"

There were a handful places, primarily in the main menu, where the
word "focus" seemed to be used as a synonym for "context".  This
changes all of those instances to "context".
This commit is contained in:
Josiah Schwab 2017-01-02 16:17:29 -08:00 committed by djcb
parent 74b2c1de0a
commit de2329dbde
2 changed files with 6 additions and 6 deletions

View File

@ -146,7 +146,7 @@ clicked."
"\n\n" "\n\n"
(propertize " Misc\n\n" 'face 'mu4e-title-face) (propertize " Misc\n\n" 'face 'mu4e-title-face)
(mu4e~main-action-str "\t* [;]Switch focus\n" 'mu4e-context-switch) (mu4e~main-action-str "\t* [;]Switch context\n" 'mu4e-context-switch)
(mu4e~main-action-str "\t* [U]pdate email & database\n" (mu4e~main-action-str "\t* [U]pdate email & database\n"
'mu4e-update-mail-and-index) 'mu4e-update-mail-and-index)

View File

@ -692,7 +692,7 @@ The main view looks something like the following:
Misc Misc
* [;]Switch focus * [;]Switch context
* [U]pdate email & database * [U]pdate email & database
* [N]ews * [N]ews
@ -923,7 +923,7 @@ E edit (only allowed for draft messages)
misc misc
---- ----
; switch focus ; switch context
a execute some custom action on a header a execute some custom action on a header
| pipe message through shell command | pipe message through shell command
C-+,C-- increase / decrease the number of headers shown C-+,C-- increase / decrease the number of headers shown
@ -1226,7 +1226,7 @@ A execute some custom action on an attachment
misc misc
---- ----
; switch focus ; switch context
c copy address at point (with C-u copy long version) c copy address at point (with C-u copy long version)
h toggle between html/text (if available) h toggle between html/text (if available)
@ -2530,9 +2530,9 @@ when starting; see the discussion in the previous section.
A couple of notes about this example: A couple of notes about this example:
@itemize @itemize
@item You can manually switch the focus use @code{M-x mu4e-context-switch}, @item You can manually switch the context use @code{M-x mu4e-context-switch},
by default bound to @kbd{;} in headers, view and main mode. by default bound to @kbd{;} in headers, view and main mode.
The current focus appears in the mode-line. The current context appears in the mode-line.
@item Normally, @code{M-x mu4e-context-switch} does not call the enter or @item Normally, @code{M-x mu4e-context-switch} does not call the enter or
leave functions if the 'new' context is the same as the old one. leave functions if the 'new' context is the same as the old one.
However, with a prefix-argument (@kbd{C-u}), you can force @t{mu4e} to However, with a prefix-argument (@kbd{C-u}), you can force @t{mu4e} to