What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 141 Stack Exchange communities.
  • Who can I send an @reply to?
  • How do I respond to a specific user when entering my comment?
  • Will they be notified?
  • What do people mean when they talk about "pinging" another user?

Related: How do I view my recent replies?

Return to the FAQ index

share|improve this question
22  
I had a really hard time finding this question because I was trying to search for "pinging a user", which is not a term used anywhere on this page. Hopefully, this comment will help the next person who does that. –  Ilmari Karonen Nov 13 '12 at 16:29
3  
@IlmariKaronen: Since comments are not indexed, I think an edit to the question was in order. (Thanks for the suggestion.) –  Jon Ericson Mar 21 '13 at 12:53
    
I strongly suggest we need a common term for this, how about namechecking? Otherwise it's insanely search-hard, as @IlmariKaronen mentions. 'notification' is too bland, and connotes routine notification of non-comment things. Mods if you agree, please create a tag namechecking and apply to this? –  smci Apr 12 '14 at 23:35
    
Recently, on numerous occasions, I've tried to start a comment with at-symbol and the name of a previous commenter, and after posting the comment the at-symbol-and-name has disappeared completely. Other times it seems to work fine. Any explanation for this behavior? –  gwideman Apr 15 '14 at 1:18
1  
@gwideman, see point 10 in the accepted answer. –  Arjan Apr 17 '14 at 19:56

1 Answer 1

up vote 298 down vote accepted

You can use @name syntax anywhere in your comment to reply to a specific user. This will notify that user in their global inbox. There can also be notification through email if you set it up in the preferences found in your profile page.

Who can be notified with this feature?

  • The author of the post.

    Note that the author of the post will always be notified of any new comment. You may still use it for clarity, if needed; however if only you and the author have commented on the post so far, the @name will be automatically removed from the beginning of the comment, as it adds no value.

  • Any user who has a visible (non-deleted) comment on the post.

    Note if a user comments on their own post and there is only one person who has previously commented, then that person is also notified if @name is not included.

  • Any user who has edited the post (does not include pending or rejected edit suggestions).

  • For questions: The moderator who closed the question. Users who have closed or reopened a question without a binding close vote (i.e. without a gold tag badge or a moderator vote) cannot be notified.

Keep in mind that the question and answers are all considered independently. For example, if Alice was the author of the question, then you cannot notify her by commenting on Bob's answer (unless Alice also participated in that answer). Similarly, you cannot notify Bob by commenting on Alice's question.

Why do some names not appear in the auto-complete box?

The auto-complete box can determine when an @name would not be necessary to trigger a notification and in that case will not include the user in the list.

Additionally, only users who have commented on the post are ever populated into the list. Editors and other users from the post's history will never appear there, even if they are able to be notified by typing manually.

Can I notify more than one person at a time?

No. Comments containing more than one @name are blocked unless they contain a backtick `. In the latter case, only the first name mentioned using the @name syntax will be notified. For example, @alice @bob Hi!` will notify Alice (if she has participated in that post), but not Bob.

An exception is the case when the first @name either matched nobody, or matched the post's author (and thus isn't necessary); in this case, the next @name will be checked.

Can I change who gets notified after the comment is posted?

When editing a comment within its limited editing period, if you change or add @name, the notification may or may not reach the new recipient depending on timing.

Are there any special keywords for notifying users?

No. Things like @op, @downvoter, or @all have no special meaning and will not trigger any notifications.

How do the names get matched?

  • You must include @name, where name is a reasonable match to a user's current display name at the time the comment is submitted. You cannot use previous display names the target may have had.

  • The notification must begin with a space or be at the start of the comment. For example, you cannot use markup such as italics.

  • If the first word in the display name is at least three characters long, then there must be a starts-with, case-insensitive match of at least three characters in the display name. This means @a and @ab will never match anyone, unless a user uses a first word that is only two characters. Like: @Jo will notify Jo Miller, but not John, and @B. will notify B. Gates, but not B.Gates. If there are more than three characters in @name, then all given characters must match (neither @alix nor @aliceinwonderland will match user Alice).

  • Matching is performed in reverse chronological order, so if five people named John are participating, @john will match the most recent John. (Use the next rule to differentiate.)

  • Spaces are removed from the display names for matching purposes. So to match Peter Smith you may use @pet, @peter, @peters, or @petersmith. The last two are useful if Peter Jones is also participating, who can then be distinguished using @peterj. However, no spaces are allowed in the @name itself. Like to notify P Smith, one must use @psm or @psmith. (Here @P Smith would be handled as just @P, which is too short.) Single quotes, dots, dashes and underscores should not be removed.

  • Special characters are replaced with their simple equivalent. To reply to Piëre you can use both @piëre and @piere. And to reply to Jörg you could use @jorg, but not @joerg.

  • The notification only works for the display name that is current at the time the comment is submitted, not any previous username(s) the target may have had.

Does other punctuation affect the notification?

The system does attempt to ignore most punctuation to allow for proper notifications, such as a single trailing dot, comma, or colon. The exact matching rules are not documented, but extensive tests performed on 30 August 2011 indicate that the following algorithm is used:

  • Take the first word immediately following the @, where the word boundary is determined by a space, a character not valid in user names (such as : , / ! ?) or the end of the comment.
  • Remove one trailing dot . from the resulting string if applicable (and if the string has more than two characters).
  • If the remaining string ends in ' or 's, remove that piece from the string.
  • The resulting string will be matched against the user name with spaces removed.

Example: The comment ends with @O'Conner's.). The word immediately following the @ is O'Conner's. since ' and . are valid in display names. Then the trailing dot is removed, and finally the 's is removed, resulting in O'Conner.

Some examples of supported notifications:

  • @name some text
  • @name: some text
  • @name. Some text
  • @name, some text
  • some text, @name
  • some text, @name, more text
  • Some text, @name.
  • This is mentioned in @name's comment.
  • @P. for both P. Smith and P. Jones (whoever commented most recently), but not P.Smith nor P.Jones. Likewise, @P. Smith is handled as @P., so also matches P. Smith or P. Jones.
  • @psm or @psmith for P Smith
  • @peters or @peterj for Peter Smith or Peter Jones respectively
  • @name...

Examples that will not trigger notifications:

  • abc@name
  • *@name*
  • *@name:*
  • [@name](http://some-url)
  • @[name](http://some-url)
  • @P Smith
share|improve this answer
2  
What if someone (not a moderator) opens a bounty on a question that they didn't ask, edit, provide an answer for or comment on? How do I notify them without adding a new answer to the question? Would @username in the comment section of said question notify them? –  Vinayak Mar 12 at 20:33
    
This sucks. Example: stackoverflow.com/questions/2094702/…. Useless spam. –  Iulian Onofrei Apr 2 at 10:58

You must log in to answer this question.

protected by Shadow Wizard Oct 12 '12 at 9:14

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?