* [PATCH] emacs: bugfix unquoted symbol
@ 2013-09-14 20:17 Mark Walters
2013-09-14 20:55 ` Austin Clements
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Mark Walters @ 2013-09-14 20:17 UTC (permalink / raw)
To: notmuch
In the recent changes for search order handling the default-value of
notmuch-search-oldest-first was used. However, default-value needs a
symbol so the symbol-name needs to be quoted.
This missing quote was causing strange sort-orders in some cases.
---
I think this is clearly correct (and what was intended) and it seems
to work as expected.
Best wishes
Mark
emacs/notmuch.el | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/emacs/notmuch.el b/emacs/notmuch.el
index 4de6229..0ff248b 100644
--- a/emacs/notmuch.el
+++ b/emacs/notmuch.el
@@ -888,7 +888,7 @@ the configured default sort order."
nil
;; Use the default search order (if we're doing a search from a
;; search buffer, ignore any buffer-local overrides)
- (default-value notmuch-search-oldest-first)))
+ (default-value 'notmuch-search-oldest-first)))
(let* ((query (or query (notmuch-read-query "Notmuch search: ")))
(buffer (get-buffer-create (notmuch-search-buffer-title query))))
--
1.7.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] emacs: bugfix unquoted symbol
2013-09-14 20:17 [PATCH] emacs: bugfix unquoted symbol Mark Walters
@ 2013-09-14 20:55 ` Austin Clements
2013-09-15 7:32 ` Tomi Ollila
2013-09-15 12:09 ` David Bremner
2 siblings, 0 replies; 4+ messages in thread
From: Austin Clements @ 2013-09-14 20:55 UTC (permalink / raw)
To: Mark Walters; +Cc: notmuch
Definitely LGTM.
Quoth Mark Walters on Sep 14 at 9:17 pm:
> In the recent changes for search order handling the default-value of
> notmuch-search-oldest-first was used. However, default-value needs a
> symbol so the symbol-name needs to be quoted.
>
> This missing quote was causing strange sort-orders in some cases.
> ---
>
> I think this is clearly correct (and what was intended) and it seems
> to work as expected.
>
> Best wishes
>
> Mark
>
>
>
>
> emacs/notmuch.el | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
> index 4de6229..0ff248b 100644
> --- a/emacs/notmuch.el
> +++ b/emacs/notmuch.el
> @@ -888,7 +888,7 @@ the configured default sort order."
> nil
> ;; Use the default search order (if we're doing a search from a
> ;; search buffer, ignore any buffer-local overrides)
> - (default-value notmuch-search-oldest-first)))
> + (default-value 'notmuch-search-oldest-first)))
>
> (let* ((query (or query (notmuch-read-query "Notmuch search: ")))
> (buffer (get-buffer-create (notmuch-search-buffer-title query))))
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] emacs: bugfix unquoted symbol
2013-09-14 20:17 [PATCH] emacs: bugfix unquoted symbol Mark Walters
2013-09-14 20:55 ` Austin Clements
@ 2013-09-15 7:32 ` Tomi Ollila
2013-09-15 12:09 ` David Bremner
2 siblings, 0 replies; 4+ messages in thread
From: Tomi Ollila @ 2013-09-15 7:32 UTC (permalink / raw)
To: Mark Walters, notmuch
On Sat, Sep 14 2013, Mark Walters <markwalters1009@gmail.com> wrote:
> In the recent changes for search order handling the default-value of
> notmuch-search-oldest-first was used. However, default-value needs a
> symbol so the symbol-name needs to be quoted.
>
> This missing quote was causing strange sort-orders in some cases.
> ---
>
> I think this is clearly correct (and what was intended) and it seems
> to work as expected.
Marked ready.
>
> Best wishes
>
> Mark
>
Tomi
>
>
>
> emacs/notmuch.el | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/emacs/notmuch.el b/emacs/notmuch.el
> index 4de6229..0ff248b 100644
> --- a/emacs/notmuch.el
> +++ b/emacs/notmuch.el
> @@ -888,7 +888,7 @@ the configured default sort order."
> nil
> ;; Use the default search order (if we're doing a search from a
> ;; search buffer, ignore any buffer-local overrides)
> - (default-value notmuch-search-oldest-first)))
> + (default-value 'notmuch-search-oldest-first)))
>
> (let* ((query (or query (notmuch-read-query "Notmuch search: ")))
> (buffer (get-buffer-create (notmuch-search-buffer-title query))))
> --
> 1.7.9.1
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> http://notmuchmail.org/mailman/listinfo/notmuch
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] emacs: bugfix unquoted symbol
2013-09-14 20:17 [PATCH] emacs: bugfix unquoted symbol Mark Walters
2013-09-14 20:55 ` Austin Clements
2013-09-15 7:32 ` Tomi Ollila
@ 2013-09-15 12:09 ` David Bremner
2 siblings, 0 replies; 4+ messages in thread
From: David Bremner @ 2013-09-15 12:09 UTC (permalink / raw)
To: Mark Walters, notmuch
Mark Walters <markwalters1009@gmail.com> writes:
> In the recent changes for search order handling the default-value of
> notmuch-search-oldest-first was used. However, default-value needs a
> symbol so the symbol-name needs to be quoted.
pushed
d
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-09-15 12:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-14 20:17 [PATCH] emacs: bugfix unquoted symbol Mark Walters
2013-09-14 20:55 ` Austin Clements
2013-09-15 7:32 ` Tomi Ollila
2013-09-15 12:09 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).