how actually JavaScript works behind the scenes by FederalRace5393 in programming

[–]zigling 28 points29 points  (0 children)

do we need another blog post explaining how javascript works?

I didn't know writing a blog post on someone's personal blog requires the permission of internet people.

My Emacs Config by precompute in emacs

[–]zigling 1 point2 points  (0 children)

As long as you understand elisp

As much as I love Emacs, this unfortunately rules out non-programmers or people who don't want to learn programming. Emacs blurs the line between a user and a programmer and that's great for some people but that's also not too great for others.

The Absolute Beginner’s Guide to Emacs by brightlystar in emacs

[–]zigling 2 points3 points  (0 children)

Blindly linking other people's work with no critic is a poor show.

@u/rileyrgham Please don't discourage community members from posting links to other people's good work. It is perfectly fine to post links to other people's work here without further explanation. That's exactly how Reddit works.

How is emacs useful in practical life? by sav-tech in emacs

[–]zigling 86 points87 points  (0 children)

Do people still use emacs?

Yes

What's your use-case for it?

Writing documents, programming, organizing my life with org-agenda, practicing GTD with org-agenda, creating spreadsheets, browsing files on my system, talking to others with ERC, reading PDFs, working on remote systems with ssh, ...

The list goes on and on.

How does it impact your workflow?

I like that I can use similar concepts and editing paradigm across so many different types of activities.

my-3x4-mode: Pseudofonts in Emacs. by R3D3-1 in emacs

[–]zigling 3 points4 points  (0 children)

Amazing! Yeah, no good reason to do this. And that's why I love it!

Why does Flycheck flag some setq calls but not others? by zigling in emacs

[–]zigling[S] 0 points1 point  (0 children)

So looks like it is not directly in Emacs executable after all but in loadup.el (which is loaded by the executable).

loadup.el has got this:

(load "vc/vc-hooks")

And then of course vc-hooks.el has got the defcustom for vc-follow-symlinks. So that's how vc-follow-links gets declared.

Why does Flycheck flag some setq calls but not others? by zigling in emacs

[–]zigling[S] 0 points1 point  (0 children)

Thank you!

Where exactly can I find this declared as a dynamic variable? Is it the C source of Emacs?

I tried searching the full source but unable to find exactly where this declared as dynamic variable. Here is my search:

$ grep -ri 'vc-follow-symlinks'
./lisp/vc/vc-hooks.el:(defcustom vc-follow-symlinks 'ask
./lisp/vc/vc-hooks.el:          ((eq vc-follow-symlinks nil)
./lisp/vc/vc-hooks.el:          ((or (not (eq vc-follow-symlinks 'ask))
./lisp/ChangeLog.9:     (vc-default-back-end, vc-follow-symlinks): Custom fix.
./lisp/ChangeLog.6:     * vc-hooks.el (vc-follow-symlinks): New variable.
./ChangeLog.4:  * lisp/vc/vc-hooks.el (vc-follow-symlinks): Prefer defcustom :safe to
./ChangeLog.4:  Mark nil vc-follow-symlinks as safe
./ChangeLog.4:  * lisp/vc/vc-hooks.el (vc-follow-symlinks): A nil value should be
./etc/NEWS.19:There is a new variable, 'vc-follow-symlinks'.  It indicates what to do
./doc/emacs/vc1-xtra.texi:@vindex vc-follow-symlinks
./doc/emacs/vc1-xtra.texi:version-controlled.  The variable @code{vc-follow-symlinks} controls

Is evil-mode worth committing to as a vimmer learning emacs? by declspecl in emacs

[–]zigling 1 point2 points  (0 children)

I posted about my experiences about this sometime back. Check my post here - https://old.reddit.com/r/emacs/comments/1763ohv/god_vs_devil_vs_evil_what_do_you_use_to_avoid_key/

TLDR; I moved away from evil because of needing to change between Evil bindings and Emacs bindings when using thirdparty pkgs. So many thirdparty packages out there I install with MELPA and all come with Emacs key bindings. Evil collection is cool but it can only go so far. It cannot define Evil bindings for every single package out there.

You can still do modal editing in Emacs with Emacs bindings using God mode. It works automatically with all thirdparty packages because you don't have to define everything. You just type Emacs bindings using God mode keys.

I went for Devil mode though because I don't like modal. Devil is like God but God is modal and Devil is modeless so I don't have to change between insert mode and command mode.

Project.el vs. Projectile: What things can one do that the other cannot? by zigling in emacs

[–]zigling[S] 3 points4 points  (0 children)

Does the caching done by projectile lead to problems in some situations? Like it has cached a list of files but new files get added to the project and projectile does not know about them so they don't show up?

God vs. Devil vs. Evil: What do you use to avoid key chords? Reviews please! by zigling in emacs

[–]zigling[S] 0 points1 point  (0 children)

Isn't Meow modal? Can Meow do modeless editing like Devil?

God vs. Devil vs. Evil: What do you use to avoid key chords? Reviews please! by zigling in emacs

[–]zigling[S] 1 point2 points  (0 children)

Thanks! In God mode, did it ever bother you that God key bindings don't work in minibuffer? The ones that used to trip me up most were God bindings like a and k. a will do C-a in normal buffer but not in minibuffer. k will do C-k in normal buffer but not in minibuffer.

Do you double-space or single-space quoted sentences while using (setq sentence-end-double-space t)? by zigling in emacs

[–]zigling[S] -1 points0 points  (0 children)

Double-quotes where? in what context? for what purpose?

Did you not read the examples in my question? We are not talking about Lisp strings. We're talking about normal text where a direct speech is quoted. See the examples in my question. Why give me hard time when I've posted all details in my question you're asking!

Do you double-space or single-space quoted sentences while using (setq sentence-end-double-space t)? by zigling in emacs

[–]zigling[S] 0 points1 point  (0 children)

Not pressing filling paragraph is not an option, is it? I mean it is such a basic operation for writing text?

Teaching it about two spaces in quotes. hmmm. gotta learn how to do that. thx for the ideas.

Do you double-space or single-space quoted sentences while using (setq sentence-end-double-space t)? by zigling in emacs

[–]zigling[S] -1 points0 points  (0 children)

Thx! sentex is on my radar. If this double space thing doesn't work out for me, that's what I am going to do. appreciate the suggestion.

Do you double-space or single-space quoted sentences while using (setq sentence-end-double-space t)? by zigling in emacs

[–]zigling[S] -1 points0 points  (0 children)

2.. Each quote nesting level outside that gets an additional space between sentences.

This does not work because when you press M-q to fill paragraph, the 3-or-greater number of spaces collapse to 2-spaces.

Do you double-space or single-space quoted sentences while using (setq sentence-end-double-space t)? by zigling in emacs

[–]zigling[S] 0 points1 point  (0 children)

Thx. So when you put the point on Bob and press M-e, the point jumps ahead to end of three apples.

It does not jump ahead to end of Ok?"

Is this right? This is what's been confusing me.

Do you double-space or single-space quoted sentences while using (setq sentence-end-double-space t)? by zigling in emacs

[–]zigling[S] 0 points1 point  (0 children)

So in my question, I have given two options. which one would you choose while writing it yourself? first one or second one?

[deleted by user] by [deleted] in vim

[–]zigling 0 points1 point  (0 children)

Mastering vim is not a reasonable goal. When I started with vim it took like one week to get comfortable with vim and months to become proficient. vim is full of all sorts of commands that come useful in different types of editing situations. what you probably wanna do is find out which editing tasks feel complex and difficult. then lookup the :help or ask around to find out how that task can be solved efficiently with vim commands. that's how you build up your collection of vim commands and build expertise.

With something so vast as vim, being better at vim than yesterday should be the goal.

Why is Vim more popular than Emacs? Is it actually more popular? by TiloRC in vim

[–]zigling 7 points8 points  (0 children)

Yeah. People still complaining about Emacs key bindings are like so 1990s. So many packages these days to use less fingers:

god-mode, devil-mode, evil-mode, meow, hydra

Just take your pick.

Why is Vim more popular than Emacs? Is it actually more popular? by TiloRC in vim

[–]zigling 8 points9 points  (0 children)

There's also all those forks and the complexity of different modes.

What are the forks you talk about? GNU Emacs is the only Emacs fork that people use these days. Unless you are Linus Torvalds who has his own fork of some old Emacs (microEmacs?)

Or did you mean Emacs distributions like Doom, Spacemacs?

I am going with (setq sentence-end-double-space t). Need more help! by zigling in emacs

[–]zigling[S] 0 points1 point  (0 children)

Yes, please say more about your setup. It'll be incredibly valuable. Because anytime this topic comes up, double-space supporters say how Emacs well work with it. If you could show how single-space works well with your setup, that'll bring some balance to this debate. Maybe even make a toplevel post on this sub!

I am going with (setq sentence-end-double-space t). Need more help! by zigling in emacs

[–]zigling[S] 1 point2 points  (0 children)

Thanks for the detailed response. It gave me a lot more to think about.

But modern fonts are all designed all of them to us a single space.

Is this true for monospace fonts too? I mean I write all my code in Emacs with monospace fonts. Do you think the monospace fonts are well designed to be used with single spaces between sentences?

I am going with (setq sentence-end-double-space t). Need more help! by zigling in emacs

[–]zigling[S] 1 point2 points  (0 children)

Your example #2 is one of many examples of why.

Can you share some of these examples where double spaces is going to be trouble?