narendraj9
  • Member for 4 years, 11 months
  • Last seen more than a week ago
How to solve "Autoloading failed to define function sml-mode"?
Accepted answer
6 votes

This is a problem of conflicting libraries in load-path. I think you should inspect your load-path to see if you have sml-mode directory in it twice. The first directory probably doesn't contain a ...

View answer
org mode logbook note entry without logbook drawer?
4 votes

This is what worked for: (defun with-no-drawer (func &rest args) (interactive "P") (if (eq org-log-note-purpose 'note) (let ((org-log-state-notes-insert-after-drawers t)) ...

View answer
including archives in org-mode clock-table
2 votes

org-clocktable-defaults can be configured to have :scope set to agenda-with-archives and then archived entries should also be included in clock-table. The documentation mentions possible values for ...

View answer
Using ido completion for selecting a repository for magit
2 votes

Finally, I found the solution to my problem. magit-status ultimately calls read-file-name. The read-file-name function uses read-file-name-function variable to find the function that it can call for ...

View answer
Is it possible to define multi-character pair for electric-pair-mode?
1 votes

Looking at the source code for the minor-mode, I couldn't find any way of doing it. But if you really want to implement it for multi-char strings, you can write your own function and add it to post-...

View answer
Make a function to toggle themes
0 votes

I have this setup for cycling themes: (defvar quick-switch-themes (let ((themes-list (list 'jazz ;; 'vicarie-and-blackboard ;; 'tangotango ...

View answer
How to remove files from recentf / ivy-virtual-buffers?
0 votes

You can configure recentf-exclude to a regexp or predicate to filter out files from the recentf-list. For example, I have set it to (setq recentf-exclude '("\.gpg$")) so that GPG files once open aren'...

View answer
Insert a string from eval-expression without the quotes
0 votes

I think you should not change M-: for this. I have setup C-c + to call the vicarie/eval-replace-last-sexp defined below. So, I just type (format-time-string "%Y/%m/%d") and do C-c +. (defun vicarie/...

View answer
Clojure code evaluation in org-mode produces no output
0 votes

You need to have header arguments in the block telling org-babel what you want to include in the results produced - result of evaluation or output to stdout or both. In your case, there is no output ...

View answer
Is there a way to change color of active window's fringe?
0 votes

You can try doing something like the following to highlight the currently selected window. Beware that this doesn't work if the buffers in multiple windows are the same. This dims all other windows ...

View answer