What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 128 Stack Exchange communities.

@username auto-completion for comments was recently implemented, and is already active on MSO.

However, it only seems to auto-complete the usernames of people who have commented on the post. According to this topic, the list of users who can be explicitly notified also includes:

  • The post author
  • Everyone who edited the post
  • The ♦ moderator who cast a binding close vote on the question

Why not auto-complete those, as well?

share|improve this question
8  
The post author will always be notified, so it's a waste of your one @reply to include them. –  Bill the Lizard Sep 17 '11 at 14:24

1 Answer 1

up vote 9 down vote accepted

Since @notify-ing post authors is actively discouraged, and adding all editors would introduce complexity for an uncommon use case, it's unlikely that the tab completion will be expanded to include those options. Note however that the tab completion will already include the post author in the list of names in cases where that user has commented on the post, and there is at least one other comment posted by a third user.

That said, completion of the most recent editor and moderator responsible for a close vote wouldn't be too difficult to implement with something like the following, based on the minified code:

var t = o.closest("#question, .answer")
    .find(".post-signature .user-details a[href^='/users/']");
var s = l(t.last().attr('href'));

var editor = t.first();
var moderator = o.closest('#question').
    .next('.question-status').find('a:last + .mod-flair').prev('a');

o.find("a.comment-user").add(editor).add(moderator).each( // ...

(Note: the existing code takes care of the "is not me, is not post author" issues later)

Still, since these aren't very common usages of @notify-cation (and there's a bit of an edge case with finding the closing moderator), I could see why the lack of a compelling reason to add them would keep it from happening.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .