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 answers only not deleted user 5296

About starting and initializing an Emacs session

0 votes

Changing the file association of todoo or alternatively completely disable it

Newer entries take priority over older ones, so you could just do (push '("TODO\\'" . text-mode) auto-mode-alist)
npostavs's user avatar
  • 9,253
4 votes

How to detect Windows XP vs Windows 7 in startup file?

For your particular case, I think @InHarmsWay's answer is the best. But for the general case, you can use w32-version: (pcase (and (eq system-type 'windows-nt) (w32-version)) (`(5 0 , …
npostavs's user avatar
  • 9,253
1 vote
Accepted

lazily activate an ELPA package?

Can I, for example, activate all except certain packages? I see you can set package-load-list to (all) or a list of names and versions, but I can't see anything like (all-but ,(alist)) in the docs. …
npostavs's user avatar
  • 9,253
7 votes
Accepted

How to re-load a package?

You can unload the system prolog mode first, this unbinds all its variables, so that the new defvar init-forms will take effect: (require 'prolog) (when (version< prolog-mode-version "1.25") (unloa …
npostavs's user avatar
  • 9,253