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.

It would be useful to have the ability to favorite the intersection of two tags; that is, only highlight a post if it contains both of the specified tags.

Example : We have a tag and a tag . If a user has good knowledge about strings in java, but neither about all java nor about all (languages) strings. So he would like to favorite them together only.

I know that a user can search questions with multiple tags but he will find lot of undesired questions with his ignored tags as well.

So If user would be able to add intersection of two tags to his favorite tags he would love to see questions with such tags highlighted like his other favorite tags

Favorite tags is a feature. Ignoring them is also a feature. But favoring a tag like * is an excellent extension of 'favorite tags' feature. I am talking about a similar extension of same (favorite tags) feature.

Is it possible to AND tags together like this when favoriting them? Can that be added if not?

share|improve this question
@MartijnPieters I tried to add two tags as java string to my favorite tags but got two independent tags java and string added –  Sami Nov 5 '12 at 17:53
Read the post carefully; type the tags into the searchbox of the site. –  Martijn Pieters Nov 5 '12 at 17:54
@MartijnPieters Sorry I edited the question. I am just asking about favorite tags. Adding two tags(dependent on each other) to favorite tags –  Sami Nov 5 '12 at 17:56
@SamiAkram (in reply to this) You can use the @ syntax to reply to editors, so posting that same comment on this question would've pinged me as well –  Michael Mrozek Nov 5 '12 at 18:34
Yes @MichaelMrozek. I tried here but was not successful (perhaps I was making some mistake). But then I saw your comment on the answer and succeeded there to ping you. –  Sami Nov 5 '12 at 18:45

1 Answer 1

No, please.

Favorite tags are a more global feature, I think. All tags are equal in that space.

Introducing an AND operator would also probably require introducing an OR operator, maybe priority modifiers (parentheses) and much more complexity in the long run just to be backwards compatible with what we already have.

share|improve this answer
I don't think any of the things you listed are strictly necessary. If you want to OR tags together you add them separately, if you want to AND them you do some other new syntax, and more complex expressions can stay unsupported –  Michael Mrozek Nov 5 '12 at 18:18
@Michael, true, you start with AND only requiring some repetition and a single syntax change (maybe even parentheses), but how long before someone wants OR expressions within these ANDs? It usually goes downhill from there. –  Frédéric Hamidi Nov 5 '12 at 18:20
I do not think or needed. Neither not(!) is needed because they are already facilitated by separation of favorite and ignore tags. But there is no phenomena for anding. And I think Anding is needed to users although it can be provided or not. And can you mention a case where a thing like "or" is needed as I have told a scenario that how "and" can be needed –  Sami Nov 5 '12 at 18:22
@Sami, you and Michael are right in that supporting simple AND would be possible without breaking backwards compatibility. I'm only saying this involves repetition if you have lots of, say, couples with the same "main" tag (e.g. java+string java+int java+bool java+etc. to take a literal example). In this situation, people are tempted to demand OR expressions inside AND expressions (e.g. java+(string|int|bool)) because they already have them outside of AND expressions in the first place. –  Frédéric Hamidi Nov 5 '12 at 18:29
@FrédéricHamidi :) You are right. But very sorry as again java+(string|int|bool) can be excused easily. As one could do java+bool and java+etc easily if anding would be provided. I confess there could be thousands of complexity cases. But see SO could simply facilitate only favorite and not the ignore tags but they have done it. So i think gradually things can be improved on priority/trade off basis. I am not saying SO must do or do it immediately. But it could provide one of great facilities to users just like ignore tags. –  Sami Nov 5 '12 at 18:41

You must log in to answer this question.

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