Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 2287

Use the sorting tag for questions involving arranging things in a defined order: sorting lines alphabetically, bibtex entries by date or author, emails by sender, completion candidates by various criteria, etc.

1 vote
2 answers
129 views

Incorporate a list of floats, into another list of floats, in numerical order, with remainders

In this example, there is a list of miscellaneous orphan floats '(9.9 10.1 10.3 10.5 10.7 10.9 11.1) that needs to be incorporated in numerical order into a second main / master list (10.0 10.2 10.4 1 …
lawlist's user avatar
  • 19.5k
0 votes
1 answer
45 views

sort: How to specify the order in which multiple sorts are performed

In the following example, there are two criteria for sorting -- orders with an inactive status should appear last in the last, and all orders should be organized by order number from smallest to largest …
lawlist's user avatar
  • 19.5k
1 vote
2 answers
265 views

How to add a string at nth position of an ordered list of strings

The built-in function add-to-ordered-list is for symbols, not strings. I have a list of strings and need to add another string to the list at a specific nth position. How can I accomplish this? TASK …
lawlist's user avatar
  • 19.5k
0 votes
1 answer
802 views

How to sort a list of files/directories by hierarchical depth?

I am working on implementing my own feature request -- http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31601 -- to give wdired the ability to handle a dired- buffer that contains an arbitrary list of abs …
lawlist's user avatar
  • 19.5k
0 votes
1 answer
98 views

Custom function to map through nested lists sorting by time-stamp

In the following example, please assume that we are using time-to-seconds to convert each times-stamp into a decimal representation. I have already converted the time-stamps to seconds in this exampl …
lawlist's user avatar
  • 19.5k
0 votes
1 answer
113 views

Custom sort order based on certain elements of a list

"coconuts") ("foo" . "9"))) END-WITH:  (a secondary sort, after sorting by 5 categories is not required in this example). '((("id" . "523") ("folder" . "TASKS") ("misc" . …
lawlist's user avatar
  • 19.5k
2 votes
1 answer
277 views

Sort minor-mode-alist alphabetically (in the mode-line) using :lighter

Q: How to sort the minor-mode-alist alphabetically (in the mode-line) using the :lighter as the criteria for alphabetization. Rough draft that does not work: (setq mode-line-format '( (:eval …
lawlist's user avatar
  • 19.5k